/* ===== Specialty Doctors Page ===== */
.specialty-doctors-page {
    background: #f5f5f5;
    min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb-section {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: #6b7280;
}

.breadcrumb-item a {
    color: #0051a5;
    text-decoration: none;
}

    .breadcrumb-item a:hover {
        color: #003d7a;
        text-decoration: underline;
    }

.breadcrumb-item.active {
    color: #6b7280;
}

/* Page Header - Blue Theme */
.page-header-section {
    background: #0051a5;
    padding: 40px 0;
    margin-bottom: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

    .page-header-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
        background-size: cover;
    }

.page-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.page-header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .page-header-icon i {
        font-size: 28px;
        color: white;
    }

.page-header-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: white;
    margin: 0 0 6px 0;
    font-family: 'Baskerville', Georgia, serif;
}

.page-header-subtitle {
    color: white;
    font-size: 1rem;
    margin: 0;
    opacity: 0.95;
}

.page-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .page-header-actions .btn {
        font-size: 0.85rem;
        padding: 8px 16px;
        border-radius: 6px;
        font-weight: 600;
    }

    .page-header-actions .btn-outline-primary {
        color: white;
        border: 2px solid white;
        background: transparent;
    }

        .page-header-actions .btn-outline-primary:hover {
            background: white;
            color: #0051a5;
        }

    .page-header-actions .btn-outline-secondary {
        color: white;
        border: 2px solid rgba(255,255,255,0.5);
        background: transparent;
    }

        .page-header-actions .btn-outline-secondary:hover {
            background: rgba(255,255,255,0.2);
            border-color: white;
        }

/* Doctors Grid - 5 cards per row */
.doctors-content {
    padding: 0 0 60px;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Doctor Card - Compact Design */
.doctor-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

    .doctor-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.12);
        border-color: #0051a5;
    }

.doctor-card-avatar {
    background: linear-gradient(135deg, #0051a5 0%, #003d7a 100%);
    padding: 20px;
    text-align: center;
}

.doctor-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
}

.doctor-avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.doctor-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doctor-card-name {
    margin: 0 0 6px 0;
}

    .doctor-card-name a {
        font-size: 1rem;
        font-weight: 700;
        color: #1f2937;
        text-decoration: none;
        transition: color 0.3s ease;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.3;
    }

        .doctor-card-name a:hover {
            color: #0051a5;
        }

.doctor-card-title {
    color: #0051a5;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.doctor-card-info {
    margin-bottom: 12px;
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 0.8rem;
}

    .info-item i {
        color: #0051a5;
        width: 16px;
        font-size: 0.85rem;
    }

.work-days {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.work-day-badge {
    background: linear-gradient(135deg, #0051a5 0%, #003d7a 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

    .work-day-badge.gray {
        background: #9ca3af;
    }

.doctor-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

    .doctor-card-actions .btn {
        font-weight: 600;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 0.85rem;
        transition: all 0.3s ease;
    }

    .doctor-card-actions .btn-primary {
        background: linear-gradient(135deg, #0051a5 0%, #003d7a 100%);
        border: none;
        color: white;
    }

        .doctor-card-actions .btn-primary:hover {
            background: linear-gradient(135deg, #003d7a 0%, #002d5c 100%);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 81, 165, 0.3);
        }

    .doctor-card-actions .btn-outline-primary {
        color: #0051a5;
        border: 2px solid #0051a5;
        background: white;
    }

        .doctor-card-actions .btn-outline-primary:hover {
            background: #0051a5;
            color: white;
            transform: translateY(-2px);
        }

/* Sidebar */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 3px solid #0051a5;
}

.ad-item {
    margin-bottom: 12px;
}

    .ad-item img {
        border-radius: 8px;
        transition: transform 0.3s ease;
    }

    .ad-item:hover img {
        transform: scale(1.02);
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
    background: white;
    border-radius: 12px;
}

    .empty-state i {
        color: #d1d5db;
        margin-bottom: 16px;
    }

    .empty-state h3 {
        font-size: 1.3rem;
        color: #374151;
        margin-bottom: 8px;
    }

    .empty-state p {
        font-size: 0.95rem;
        color: #6b7280;
    }

/* Responsive */
@media (max-width: 1600px) {
    .doctors-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .doctor-card-name a {
        font-size: 0.95rem;
    }

    .doctor-card-title {
        font-size: 0.8rem;
    }

    .info-item {
        font-size: 0.75rem;
    }
}

@media (max-width: 991px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header-content {
        flex-direction: column;
        text-align: center;
    }

    .page-header-actions {
        justify-content: center;
    }

    .page-header-title {
        font-size: 1.5rem;
    }

    .doctor-card-name a {
        font-size: 1rem;
    }

    .doctor-card-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .page-header-section {
        padding: 30px 0;
    }

    .page-header-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .doctor-card-avatar {
        padding: 16px;
    }

    .doctor-img,
    .doctor-avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }

    .doctor-card-body {
        padding: 14px;
    }

    .doctor-card-name a {
        font-size: 0.95rem;
    }
}
