/* ==========================================================================
   ARIYAN HOSPITAL - LUXURY HEALTHCARE COMPONENT ARCHITECTURE
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO COMMAND CENTER MODULES (CLEAN OVERLAY & TRUST METRICS)
   -------------------------------------------------------------------------- */

.hero-trust-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 580px;
}

.metric-chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent-cyan);
    line-height: 1.1;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.7);
}

.metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   SPECIALTY CARDS & CENTERS OF EXCELLENCE
   -------------------------------------------------------------------------- */

.specialty-cluster-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.specialty-card-tall {
    background: linear-gradient(145deg, #d90429 0%, #8b0000 100%);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 45px rgba(217, 4, 41, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.specialty-card-tall:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(217, 4, 41, 0.5);
}

.specialty-card-wide {
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    position: relative;
}

.specialty-card-wide:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: var(--shadow-md);
}

.readiness-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 800;
    margin-top: 8px;
}

.readiness-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 6px #16a34a;
}

/* --------------------------------------------------------------------------
   PHILOSOPHY & GRID SHOWCASE
   -------------------------------------------------------------------------- */

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* --------------------------------------------------------------------------
   PATIENT JOURNEY TIMELINE
   -------------------------------------------------------------------------- */

.journey-timeline-wrap {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 40px 0 20px 0;
    gap: 24px;
}

.journey-timeline-line {
    position: absolute;
    top: 32px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, #d90429, #00f0ff, #10b981);
    z-index: 1;
    opacity: 0.3;
}

.journey-step-item {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    flex: 1;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

.journey-step-item:hover {
    transform: translateY(-4px);
    border-color: #00f0ff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.journey-step-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0a192f, #1e293b);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 16px auto;
    border: 2px solid #00f0ff;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

.journey-step-item h4 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.journey-step-item p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   DOCTOR PROFILE CARDS & DIRECTORY
   -------------------------------------------------------------------------- */

.doctor-profile-card {
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.doctor-profile-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 4, 41, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
}

.doctor-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.doctor-avatar-img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-red);
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.25);
}

.doctor-avatar-emoji {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #030814, #101e38);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.doctor-avatar-blank {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #00f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    border: 3px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.doctor-online-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.doctor-info-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doctor-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.doctor-card-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.doctor-card-spec {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
    margin-top: 2px;
}

.doctor-rating-badge {
    background: #fefce8;
    color: #a16207;
    border: 1px solid #fef08a;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.doctor-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 6px 0;
}

.doc-meta-item {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.doc-meta-item.doc-id-tag {
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.2);
}

.doc-meta-item.doc-blood-tag {
    background: rgba(217, 4, 41, 0.08);
    color: #d90429;
    border-color: rgba(217, 4, 41, 0.2);
}

.doc-meta-item.doc-age-tag {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.2);
}

.doc-meta-item.doc-hosp-tag {
    background: rgba(124, 58, 237, 0.08);
    color: #6d28d9;
    border-color: rgba(124, 58, 237, 0.2);
}

.doctor-card-bio {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.doctor-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.doctor-tags-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   REAL-TIME 2FA OTP SECURITY VERIFICATION STYLES
   -------------------------------------------------------------------------- */

.otp-card-banner {
    background: rgba(34, 197, 94, 0.08);
    border: 1.5px solid #22c55e;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #15803d;
}

.otp-card-main {
    background: rgba(34, 197, 94, 0.04);
    border: 1.5px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
}

.otp-digits-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: #ffffff;
    border: 1.5px solid #22c55e;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.08);
    margin-bottom: 16px;
}

.otp-digit-input {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
}

.otp-digit-input:focus {
    border-color: #22c55e;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.25);
    transform: translateY(-2px);
}

.btn-otp-verify {
    width: 100%;
    padding: 15px;
    font-weight: 800;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    border: none;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.btn-otp-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, #fbbf24, #d97706);
}

.btn-book-doc {
    padding: 8px 18px;
    font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   RECEPTIONIST DESK & DOCTOR ONBOARDING STYLES
   -------------------------------------------------------------------------- */

.image-upload-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    background: #f8fafc;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.image-upload-dropzone:hover {
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.04);
}

.receptionist-doctors-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

.rec-doctor-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-fast);
}

.rec-doctor-card:hover {
    border-color: #0ea5e9;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.08);
}

.rec-doc-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0ea5e9;
}

.rec-doc-blank-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    border: 2px solid #0ea5e9;
}

.rec-doc-info {
    flex: 1;
}

.rec-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.rec-doc-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.rec-doc-spec {
    font-size: 0.8rem;
    color: #64748b;
}

.btn-rec-delete {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-rec-delete:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.rec-doc-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.rec-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.rec-badge.id-badge {
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.rec-badge.blood-badge {
    background: rgba(217, 4, 41, 0.08);
    color: #d90429;
}

.rec-badge.age-badge {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.rec-badge.hosp-badge {
    background: rgba(124, 58, 237, 0.08);
    color: #6d28d9;
}

.doc-dept-pill {
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.doc-dept-pill:hover, .doc-dept-pill.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   SERVICES BANNER & QUICK APPOINTMENT WIDGET
   -------------------------------------------------------------------------- */

.specialist-header-banner {
    background: linear-gradient(135deg, #030814 0%, #081426 50%, #0c182d 100%);
    color: #ffffff;
    padding: 70px 0;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.specialist-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.services-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.quick-appointment-widget {
    background: rgba(12, 24, 45, 0.85);
    border: 1.5px solid rgba(0, 240, 255, 0.35);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    backdrop-filter: blur(24px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.quick-app-header {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #00f0ff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.quick-app-form .form-group {
    margin-bottom: 12px;
}

.quick-app-form label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
    display: block;
    margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   LIFE FLOW GRID & SPECIALTY SERVICE CARDS
   -------------------------------------------------------------------------- */

.life-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.life-flow-card {
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.life-flow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00f0ff, transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.life-flow-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.life-flow-card:hover::before {
    opacity: 1;
}

.life-flow-card.highlighted {
    border-color: rgba(217, 4, 41, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
}

.life-flow-card.highlighted::before {
    background: linear-gradient(90deg, #d90429, #00f0ff);
    opacity: 1;
}

.life-flow-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform var(--transition-fast);
}

.life-flow-card:hover .life-flow-icon-wrap {
    transform: scale(1.08);
}

.btn-explore-service {
    border-radius: var(--radius-full) !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    width: 100% !important;
    transition: all var(--transition-fast) !important;
}

.btn-explore-service:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.emergency-readiness-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* --------------------------------------------------------------------------
   FORM CONTROLS & INPUTS
   -------------------------------------------------------------------------- */

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: #00f0ff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    display: block;
    margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   MODALS & OVERLAYS (ULTRA-PREMIUM FROSTED GLASS)
   -------------------------------------------------------------------------- */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 8, 20, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
    overflow-y: auto;
}

.modal-backdrop.active {
    display: flex;
    animation: fadeInModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-light);
    position: relative;
}

.modal-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    color: #64748b;
    transition: color var(--transition-fast);
    padding: 4px;
}

.modal-close-btn:hover {
    color: var(--primary-red);
}

.modal-body {
    padding: 24px;
}

/* --------------------------------------------------------------------------
   POST-LOGIN LUXURY UI & ENTERPRISE ADMIN CONTROLS
   -------------------------------------------------------------------------- */

/* Top Administrative Control Strip */
.admin-top-bar {
    background: linear-gradient(90deg, #030814 0%, #0d1b33 50%, #030814 100%);
    border-bottom: 1px solid rgba(217, 4, 41, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    padding: 8px 0;
    font-size: 0.82rem;
    position: relative;
    z-index: 1001;
}

.admin-top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-status-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
}

.admin-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217, 4, 41, 0.2);
    border: 1px solid #d90429;
    color: #ff4d6d;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.admin-welcome-text {
    font-size: 0.82rem;
    color: #cbd5e1;
}

.admin-welcome-text b {
    color: #ffffff;
}

.admin-quick-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-quick-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-quick-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: #00f0ff;
    color: #00f0ff;
    transform: translateY(-1px);
}

.admin-quick-btn.pending-alert-btn {
    background: linear-gradient(135deg, rgba(217, 4, 41, 0.35), rgba(217, 4, 41, 0.15));
    border-color: #d90429;
    color: #ffffff;
}

.admin-quick-btn.pending-alert-btn:hover {
    background: #d90429;
    box-shadow: 0 0 14px rgba(217, 4, 41, 0.5);
}

.admin-quick-btn .badge-count {
    background: #d90429;
    color: #ffffff;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 800;
}

.admin-quick-btn.switch-btn {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: #94a3b8;
}

.admin-quick-btn.switch-btn:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* User Profile Badge (Header Pill) */
.user-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.user-profile-badge.visitor-badge {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.user-profile-badge.visitor-badge:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.3);
}

.user-profile-badge.admin-badge {
    background: linear-gradient(135deg, rgba(217, 4, 41, 0.25), rgba(153, 0, 0, 0.35));
    border: 1px solid #d90429;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(217, 4, 41, 0.35);
}

.user-profile-badge.admin-badge:hover {
    background: linear-gradient(135deg, #d90429, #990000);
    box-shadow: 0 0 16px rgba(217, 4, 41, 0.6);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.badge-dot.pulse-green {
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.badge-dot.pulse-red {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.badge-counter {
    background: #d90429;
    color: #ffffff;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 800;
}

.badge-arrow {
    font-size: 0.7rem;
    color: inherit;
    opacity: 0.8;
}

/* Custom Nav Action Buttons */
.btn-admin-portal {
    background: linear-gradient(135deg, #d90429, #990000) !important;
    color: #ffffff !important;
    border: 1px solid #ff4d6d !important;
    box-shadow: 0 0 14px rgba(217, 4, 41, 0.4) !important;
}

.btn-admin-portal:hover {
    background: linear-gradient(135deg, #ef233c, #d90429) !important;
    box-shadow: 0 0 20px rgba(217, 4, 41, 0.7) !important;
    transform: translateY(-2px);
}

.btn-doc-register {
    background: rgba(0, 240, 255, 0.1) !important;
    border: 1px solid #00f0ff !important;
    color: #00f0ff !important;
}

.btn-doc-register:hover {
    background: #00f0ff !important;
    color: #030814 !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.5) !important;
    transform: translateY(-2px);
}

/* Portal Switch Modal Cards */
.portal-switch-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
}

.portal-switch-card:hover {
    background: #ffffff;
    border-color: #00f0ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.portal-switch-card.danger {
    border-color: #fecaca;
    background: #fff5f5;
}

.portal-switch-card.danger:hover {
    background: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.12);
}

.portal-switch-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.portal-switch-card .card-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}

.portal-switch-card.danger .card-title {
    color: #dc2626;
}

.portal-switch-card .card-desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.3;
}

/* Pending Doctor Approval Cards */
.pending-doc-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.pending-doc-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.pending-doc-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.pending-doc-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #00f0ff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pending-doc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pending-doc-meta {
    flex: 1;
}

.pending-doc-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}

.pending-doc-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.pending-status-pill {
    background: rgba(234, 179, 8, 0.15);
    color: #ca8a04;
    border: 1px solid rgba(234, 179, 8, 0.4);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 800;
}

.pending-doc-sub {
    font-size: 0.84rem;
    color: #475569;
    margin-bottom: 8px;
}

.pending-doc-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.doc-tag {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.doc-tag.ref-tag {
    background: rgba(217, 4, 41, 0.1);
    color: #d90429;
}

.doc-tag.exp-tag {
    background: #e2e8f0;
    color: #334155;
}

.doc-tag.avail-tag {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.pending-doc-bio {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.45;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 14px;
}

.pending-doc-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-approve {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-approve:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.btn-reject {
    background: transparent;
    color: #ef4444;
    border: 1px solid #ef4444;
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-reject:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
}

/* Empty State */
.pending-empty-state {
    text-align: center;
    padding: 36px 20px;
    color: #64748b;
}

.pending-empty-state .empty-state-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.pending-empty-state h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.pending-empty-state p {
    font-size: 0.88rem;
    color: #64748b;
    max-width: 440px;
    margin: 0 auto 20px auto;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   FOOTER & SITE ATTRIBUTION
   -------------------------------------------------------------------------- */

.site-footer {
    background: #030814;
    color: #cbd5e1;
    padding: 70px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #00f0ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #64748b;
}

/* --------------------------------------------------------------------------
   TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-message {
    background: #0f172a;
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 360px;
}

.toast-message.success {
    border-color: #22c55e;
    background: #052e16;
    color: #4ade80;
}

.toast-message.error {
    border-color: #ef4444;
    background: #450a0a;
    color: #fca5a5;
}

.toast-message.info {
    border-color: #00f0ff;
    background: #082f49;
    color: #38bdf8;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   COMPONENT RESPONSIVE MEDIA QUERIES (COMPREHENSIVE ZERO-OVERFLOW ENGINE)
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
    .hero-trust-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .admin-top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .admin-quick-actions {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .specialty-cluster-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .specialty-card-wide {
        grid-column: span 1 !important;
    }

    .emergency-feature-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .emergency-readiness-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    .live-status-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .doctors-list-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .about-principles-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .services-banner-container {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        text-align: center;
    }

    .quick-appointment-widget {
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .modal-content-box {
        max-width: 94vw;
        margin: 10px auto;
    }
}

@media (max-width: 767px) {
    .hero-trust-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .admin-top-bar {
        padding: 6px 0;
        font-size: 0.76rem;
    }

    .admin-welcome-text {
        font-size: 0.74rem;
    }

    .pending-doc-card {
        padding: 16px 14px;
    }

    .pending-doc-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .pending-doc-title-row {
        justify-content: center;
    }

    .pending-doc-tags {
        justify-content: center;
    }

    .pending-doc-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .btn-approve, .btn-reject {
        width: 100%;
        text-align: center;
        padding: 10px 14px;
    }

    .journey-timeline-wrap {
        flex-direction: column;
        gap: 16px;
    }

    .journey-timeline-line {
        display: none;
    }

    .doctor-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 22px 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .doctor-avatar-wrap {
        margin: 0 auto;
    }

    .doctor-header-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .doctor-card-footer {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .doctor-tags-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-book-doc {
        width: 100%;
        text-align: center;
    }

    /* Horizontal scrollable pills on mobile with zero scrollbar */
    .services-filter-bar,
    .doc-filter-bar {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4px 2px 10px 2px;
        scrollbar-width: none;
        width: 100%;
        max-width: 100%;
    }

    .services-filter-bar::-webkit-scrollbar,
    .doc-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .doc-dept-pill,
    .service-filter-pill {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .specialty-card-wide {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px 16px;
    }

    .specialty-card-wide .btn {
        width: 100%;
        margin-top: 10px;
    }

    /* Contain floating ICU badge on mobile so it doesn't overflow horizontally */
    .icu-floating-badge {
        position: static !important;
        margin-top: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        right: auto !important;
        bottom: auto !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    }

    .founders-letter-box {
        padding: 24px 18px !important;
        border-radius: 18px !important;
    }

    .dial-emergency-btn {
        width: 100% !important;
        padding: 14px 18px !important;
        font-size: 0.92rem !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-trust-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .metric-val {
        font-size: 1.15rem;
    }

    .life-flow-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .life-flow-card {
        padding: 24px 18px !important;
    }

    .admin-quick-actions {
        gap: 6px;
    }

    .admin-quick-btn {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    .user-profile-badge {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    .modal-content-box {
        max-width: 95vw !important;
        margin: 6px auto !important;
        border-radius: 18px !important;
    }

    .modal-body {
        padding: 16px 12px !important;
    }
}
