/* Doctors profile and archive styles */

.doctor-profile {
    background: #f8fafc;
}

.doctor-hero {
    background: linear-gradient(135deg, #064477 0%, #0a5a96 100%);
    color: #fff;
    padding: 4rem 0 3rem;
}

.doctor-hero-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.doctor-hero-image,
.doctor-hero-placeholder {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.doctor-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 5rem;
}

.doctor-hero-specialty {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.doctor-hero-name {
    font-size: 2.25rem;
    margin: 0 0 0.75rem;
    color: #fff;
}

.doctor-hero-tagline,
.doctor-hero-degrees {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 0.75rem;
}

.doctor-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.doctor-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.25rem 0;
}

.doctor-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.doctor-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.doctor-profile-body {
    padding: 3rem 1rem 4rem;
}

.doctor-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: start;
}

.doctor-block {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.doctor-block h2 {
    font-size: 1.35rem;
    margin: 0 0 1rem;
    color: #064477;
}

.doctor-list {
    margin: 0;
    padding-right: 1.25rem;
}

.doctor-list li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.doctor-list-compact li {
    font-size: 0.95rem;
}

.doctor-sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.doctor-sidebar-card h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #064477;
}

.doctor-contact-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.doctor-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
}

.doctor-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.doctor-tag {
    background: #eef4fb;
    color: #064477;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.doctor-social-links {
    display: flex;
    gap: 0.75rem;
}

.doctor-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4fb;
    color: #064477;
    transition: all 0.2s ease;
}

.doctor-social-links a:hover {
    background: #064477;
    color: #fff;
}

.doctor-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.doctor-gallery-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.doctor-video iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 12px;
}

.doctor-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    color: #064477;
    font-weight: 600;
    text-decoration: none;
}

.doctor-card-link:hover {
    color: #0a5a96;
}

.doctors-section-archive-link {
    text-align: center;
    margin-top: 2rem;
}

.doctors-archive-hero {
    background: linear-gradient(135deg, #064477, #0a5a96);
    color: #fff;
    padding: 3.5rem 0 2.5rem;
    text-align: center;
}

.doctors-archive-title {
    margin: 0 0 0.75rem;
    color: #fff;
    font-size: 2rem;
}

.doctors-archive-subtitle {
    margin: 0;
    opacity: 0.92;
}

.doctors-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
    margin: 2rem 0;
    padding: 1.25rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.doctors-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 200px;
}

.doctors-filter-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.doctors-filter-field select {
    padding: 0.65rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
}

.doctors-archive-grid {
    margin-bottom: 3rem;
}

.doctors-archive-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #64748b;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.medopay-doctor-meta-group-title {
    margin: 1.5rem 0 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    font-size: 1rem;
}

.medopay-doctor-meta-group-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 992px) {
    .doctor-hero-inner,
    .doctor-profile-grid {
        grid-template-columns: 1fr;
    }

    .doctor-hero-media {
        display: flex;
        justify-content: center;
    }

    .doctor-hero-name {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .doctor-hero-image,
    .doctor-hero-placeholder {
        width: 220px;
        height: 220px;
    }

    .doctors-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .doctors-filter-field {
        width: 100%;
    }
}
