/* Santhosh Doctors Manager – Frontend Styles */

/* ── Doctor Archive Grid ───────────────────────────────────────────────────── */
.doctors-page-wrap {
    background: linear-gradient(135deg, #f1f5f9 0%, #dbeafe 100%);
    min-height: 100vh;
}

.doctors-filters-bar {
    position: sticky;
    top: 64px;
    z-index: 40;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
}

.doctors-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.doctors-search-input:focus {
    outline: none;
    border-color: #fb7a1e;
    box-shadow: 0 0 0 3px rgba(251, 122, 30, 0.15);
}

.specialty-filter-pill {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.specialty-filter-pill:hover {
    border-color: #fb7a1e;
    color: #fb7a1e;
}
.specialty-filter-pill.active {
    background: #fb7a1e;
    border-color: #fb7a1e;
    color: #fff;
}

/* ── Doctor Card ───────────────────────────────────────────────────────────── */
.doctor-archive-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.doctor-archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.doctor-archive-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: top;
    display: block;
}
.doctor-archive-img-placeholder {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #fed7aa 0%, #fb7a1e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.doctor-archive-img-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.7);
}

.doctor-archive-body {
    padding: 1.5rem;
}
.doctor-archive-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}
.doctor-archive-specialty {
    color: #fb7a1e;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}
.doctor-archive-experience {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.doctor-archive-actions {
    display: flex;
    gap: 0.625rem;
}
.doctor-archive-actions .btn-profile {
    flex: 1;
    padding: 0.5rem 1rem;
    background: #fb7a1e;
    color: #fff;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
    text-decoration: none;
    display: block;
}
.doctor-archive-actions .btn-profile:hover { background: #ea580c; color: #fff; }
.doctor-archive-actions .btn-appt {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #fb7a1e;
    color: #fb7a1e;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
    background: #fff;
}
.doctor-archive-actions .btn-appt:hover { background: #fb7a1e; color: #fff; }

/* No results state */
.doctors-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}
.doctors-no-results i { font-size: 4rem; margin-bottom: 1rem; color: #d1d5db; display: block; }

/* ── Single Doctor Profile ─────────────────────────────────────────────────── */
.doctor-profile-hero {
    background: linear-gradient(135deg, rgba(251,122,30,0.08) 0%, rgba(59,130,246,0.05) 100%);
}

.doctor-profile-photo {
    width: 100%;
    max-width: 360px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    display: block;
}

.doctor-profile-name { font-size: 2.5rem; font-weight: 800; color: #1f2937; }
.doctor-profile-title { color: #fb7a1e; font-size: 1.25rem; font-weight: 600; }

.doctor-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(251,122,30,0.1);
    border-radius: 9999px;
    color: #fb7a1e;
    font-weight: 600;
    font-size: 0.9375rem;
}

.doctor-info-tab-btn {
    padding: 0.75rem 1.5rem;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 0.9375rem;
}
.doctor-info-tab-btn.active,
.doctor-info-tab-btn:hover {
    color: #fb7a1e;
    border-bottom-color: #fb7a1e;
}

.doctor-tab-pane { display: none; }
.doctor-tab-pane.active { display: block; }

/* Rating stars */
.star-rating { display: inline-flex; gap: 0.125rem; }
.star-rating i { color: #fbbf24; font-size: 1rem; }

/* Availability badge */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
}
.availability-badge.available { background: #dcfce7; color: #16a34a; }
.availability-badge.busy { background: #fee2e2; color: #dc2626; }

/* ── Filter + search layout helpers ───────────────────────────────────────── */
.doctors-specialty-pills-wrap {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Hidden utility for JS filter */
.doctor-grid-item.filtered-out { display: none !important; }
