/* Doktorlar sayfasi: portal.css'in renk ve bilesenleri uzerine eklemeler. */
.page.team > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.page.team .device-hero { max-width: none; }
.hero-meta > span.plain::before { display: none; }

.empty-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 28px; }
.empty p:last-child { margin-top: 18px; }

/* doktor ekle */
.add-card { display: flex; gap: 18px; align-items: flex-start; }
.add-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 22px; flex: none; }
.add-body { flex: 1; min-width: 0; }
.add-body > .muted { margin: 2px 0 16px; }
.add-body .row input { flex: 1 1 220px; }
.add-body .row .primary { border-radius: 999px; padding: 11px 24px; }
.add-body .error:empty { display: none; }
.add-body .error { display: block; margin-top: 8px; }

.secret {
  margin-top: 16px; border: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
  background: var(--green-soft); border-radius: 16px; padding: 14px 18px; font-size: 13.5px;
}
.secret code {
  font: 700 17px "Cascadia Mono", Consolas, ui-monospace, monospace; letter-spacing: .04em;
  color: var(--green); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 5px 12px;
}
.secret .row { margin: 10px 0 8px; }

.section-head { text-align: center; margin: 44px auto 18px; }
.section-head h2 { margin-bottom: 2px; }

/* doktor kartlari */
.doctor { padding: 22px 24px; }
.doctor-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.initials {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--primary); color: var(--paper); font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .03em;
}
.doctor-id { flex: 1 1 180px; min-width: 0; }
.doctor-id .who-name { font-family: var(--serif); font-weight: 600; font-size: 19px; }
.doctor-id .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doctor-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 500; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }
.chip.warn { color: var(--orange); background: var(--orange-soft); border-color: transparent; }
.doctor-head .actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.doctor-head .actions button {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 500; background: var(--paper);
}
.doctor-head .actions button:hover { border-color: var(--primary); color: var(--primary); }
.doctor-head .actions button.danger { color: var(--red); border-color: color-mix(in srgb, var(--red) 35%, transparent); }
.doctor-head .actions button.danger:hover { background: var(--red-soft); border-color: var(--red); }
.doctor-head .actions .muted { font-size: 12.5px; }

.assign-label { margin: 20px 0 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.assign { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.assign label {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .18s, background-color .18s, box-shadow .18s;
}
.assign label:hover { border-color: var(--line-strong); }
.assign label:has(input:checked) { background: var(--primary-soft); border-color: var(--primary); }
.assign input { accent-color: var(--primary); width: 17px; height: 17px; flex: none; }
.dev-text { display: flex; flex-direction: column; min-width: 0; }
.dev-name { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.dev-name .tag { font: 500 10.5px/1.6 "Cascadia Mono", Consolas, ui-monospace, monospace; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 5px; }
.assign .apps { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.assign-actions { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.assign-actions .primary { padding: 9px 18px; font-size: 13.5px; border-radius: 999px; }
.ok { color: var(--green); font-size: 13px; font-weight: 600; }

@media (max-width: 600px) {
  .add-icon { display: none; }
}
