/* ===========================
   DOCTORS PAGE STYLES
   =========================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 20s infinite;
}

/* Search Section */
.search-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
}

.search-input {
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 1.125rem;
}

.btn-search {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.filter-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #F3F4F6;
    color: var(--dark);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    display: block;
    font-size: 0.95rem;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s;
    background: white;
    font-size: 0.95rem;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1.5rem;
    text-align: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.info-title {
    color: #047857;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-text {
    color: #065F46;
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Quick Stats */
.quick-stats {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #F9FAFB;
    border-radius: 15px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.stat-row div {
    flex: 1;
}

.stat-row strong {
    display: block;
    font-size: 1.125rem;
    color: var(--dark);
}

.stat-row small {
    color: #6B7280;
    font-size: 0.85rem;
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #F3F4F6;
}

.view-toggle button {
    border-radius: 8px;
    margin-left: 0.5rem;
}

.view-toggle button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Doctor Card */
.doctor-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.doctor-card:hover {
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.15);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.doctor-avatar {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
    margin: 0 auto;
}

.doctor-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.doctor-specialty {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.doctor-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #6B7280;
    font-size: 0.95rem;
}

.doctor-info-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Doctor Badges */
.doctor-badge {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.badge-verified {
    background: #D1FAE5;
    color: #047857;
}

.badge-emergency {
    background: #FEE2E2;
    color: #DC2626;
}

.badge-video {
    background: #DBEAFE;
    color: #1E40AF;
}

/* Rating Display */
.rating-display {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FEF3C7;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.rating-display i {
    color: #F59E0B;
}

.rating-display strong {
    font-size: 1.1rem;
}

/* Fee Display */
.fee-display {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
}

.fee-amount {
    color: #047857;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.fee-label {
    color: #065F46;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.25rem;
}

/* Book Button */
.btn-book {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.2);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
    color: white;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 20px;
}

.no-results-icon {
    width: 120px;
    height: 120px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.no-results-icon i {
    font-size: 4rem;
    color: #9CA3AF;
}

.no-results h4 {
    color: var(--dark);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section-secondary {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(8, 145, 178, 0.1));
    padding: 4rem 0;
    margin: 3rem 0;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .filter-section {
        position: static;
        margin-bottom: 2rem;
    }
    
    .doctor-avatar {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }
    
    .page-header {
        padding: 3rem 0 2rem;
    }
}

@media (max-width: 768px) {
    .search-section {
        padding: 1.5rem;
    }
    
    .doctor-card {
        padding: 1.5rem;
    }
    
    .doctor-name {
        font-size: 1.25rem;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .fee-amount {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .doctor-avatar {
        width: 80px;
        height: 80px;
        font-size: 1.75rem;
    }
    
    .doctor-info-item {
        font-size: 0.875rem;
    }
    
    .no-results {
        padding: 3rem 1rem;
    }
}