/* ═══════════════════════════════════════════════════════════════════
   INDHEAL — wwwroot/css/doctor.css
   Doctor page (/doctor/{alias}). Layout, hero, sidebar and form come
   from hospital-detail.css; this file holds the doctor-only parts.
   ═══════════════════════════════════════════════════════════════════ */

/* Hero: round photo (or initials) instead of the hospital logo */
.doc-hero__photo {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,.12);
    border: 3px solid rgba(255,255,255,.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.doc-hero__photo img  { width: 100%; height: 100%; object-fit: cover; }
.doc-hero__photo span { font-size: 2.6rem; font-weight: 600; color: #fff; }

.doc-hero__role { margin: 0.25rem 0 0.75rem; font-size: 1.08rem; opacity: .92; }
.doc-hero__hospital { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* About */
.doc-profile p { margin: 0 0 0.9rem; line-height: 1.65; color: var(--color-text-body); }
.doc-profile p:last-child { margin-bottom: 0; }

/* Treatments the doctor is linked to, each with its "Good to know" line */
.doc-procs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.doc-proc {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.doc-proc__name { font-weight: var(--weight-medium); color: var(--color-primary); text-decoration: none; }
.doc-proc__name:hover { text-decoration: underline; }
.doc-proc__gtk  { font-size: var(--text-sm); color: var(--color-success-text); }

/* Where the doctor works */
.doc-where { line-height: 1.65; color: var(--color-text-body); margin: 0; }
.doc-where__link { font-weight: var(--weight-medium); color: var(--color-primary); }

@media (max-width: 640px) {
    .doc-hero__photo { width: 120px; height: 120px; margin: 0 auto; }
    .doc-hero__photo span { font-size: 2rem; }
}
