:root {
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --primary-light: rgba(2, 132, 199, 0.12);
    --secondary: #0d9488;
    --accent: #f59e0b;
    --bg-main: #090d16;
    --bg-surface: #111827;
    --bg-card: rgba(17, 24, 39, 0.85);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(2, 132, 199, 0.4);
    --success: #10b981;
    --danger: #ef4444;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(13, 148, 136, 0.12) 0%, transparent 40%);
    background-attachment: fixed;
    min-height: 100vh;
}

.app-container {
    max-width: 600px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 85px;
    position: relative;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    background: rgba(11, 15, 25, 0.6);
}

@media (min-width: 992px) {
    .app-container {
        max-width: 850px;
    }
}

/* Header */
.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(9, 13, 22, 0.85);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    box-shadow: 0 0 10px #38bdf8;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 40%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--primary-light);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.gateway-status-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid var(--border);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gateway-status-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.live {
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: pulse-glow 2s infinite;
}

.status-indicator.error {
    background: var(--danger);
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Main & Sections */
.app-main {
    padding: 20px 18px;
    flex: 1;
}

.view-section {
    display: none;
    animation: fadeIn 0.3s ease forwards;
}

.view-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-hero {
    margin-bottom: 22px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    color: #ffffff;
}

.hero-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.glass-card:hover {
    border-color: var(--border-hover);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0369a1, #075985);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.82rem;
}

.btn-text-link {
    background: none;
    border: none;
    color: #38bdf8;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.35);
    padding: 4px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.auth-tab-btn {
    flex: 1;
    padding: 9px 6px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab-btn.active {
    background: rgba(2, 132, 199, 0.25);
    color: #38bdf8;
}

/* Inputs */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e5e7eb;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px 14px;
    transition: border-color 0.2s;
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.input-prefix {
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 8px;
    font-size: 0.95rem;
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    font-family: var(--font-body);
    padding: 8px 0;
}

.input-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* OTP Box */
.otp-input-container {
    margin: 20px 0;
    text-align: center;
}

.otp-box {
    width: 100%;
    max-width: 280px;
    padding: 12px;
    font-size: 1.8rem;
    letter-spacing: 12px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    color: #ffffff;
    outline: none;
}

.sandbox-hint {
    margin-top: 15px;
    text-align: center;
    color: var(--text-muted);
}

/* ABHA Digital Card */
.abha-card {
    background: linear-gradient(135deg, #0b2847 0%, #0d3858 50%, #08223c 100%);
    border: 2px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.abha-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
    border-radius: 50%;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.national-emblem {
    display: flex;
    align-items: center;
    gap: 10px;
}

.emblem-flag {
    font-size: 1.5rem;
}

.emblem-text strong {
    display: block;
    font-size: 0.82rem;
    color: #ffffff;
}

.emblem-text small {
    display: block;
    font-size: 0.68rem;
    color: #93c5fd;
}

.abha-logo-badge {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.card-body {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.card-avatar {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.card-user-info {
    flex: 1;
}

.user-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.info-row {
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.info-row .label {
    color: #93c5fd;
    margin-right: 4px;
}

.info-row .value.highlight {
    color: #38bdf8;
    font-weight: 700;
}

.info-row-multi {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: #cbd5e1;
    margin-top: 4px;
}

.card-qr-box {
    text-align: center;
}

.mock-qr {
    width: 88px;
    height: 88px;
    background: #ffffff;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mock-qr:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.card-avatar {
    width: 75px;
    height: 75px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
}

.btn-danger-outline {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #ffffff;
    transform: translateY(-1px);
}

.qr-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.qr-zoom-content {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    max-width: 340px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.qr-zoom-img-box {
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    margin: 16px 0;
    display: inline-block;
}

.qr-pattern {
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(0deg, #000 0px, #000 3px, transparent 3px, transparent 6px),
                      repeating-linear-gradient(90deg, #000 0px, #000 3px, #fff 3px, #fff 6px);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.badge-verified {
    color: #34d399;
}

.abha-card-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.abha-card-actions .btn {
    flex: 1;
}

/* UHI Search View */
.search-card {
    padding: 16px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px 12px;
    margin-bottom: 12px;
}

.search-icon {
    margin-right: 8px;
    opacity: 0.7;
}

.search-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    outline: none;
    font-size: 0.92rem;
}

.specialty-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 12px;
    scrollbar-width: none;
}

.specialty-pills::-webkit-scrollbar {
    display: none;
}

.pill {
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pill.active {
    background: var(--primary-light);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
}

.consultation-type-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 4px;
    gap: 4px;
}

.toggle-option {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
}

.toggle-option input {
    display: none;
}

.toggle-option.active {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
}

/* Doctor Catalog Card */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 12px;
}

.catalog-header h3 {
    font-size: 0.95rem;
    color: #e5e7eb;
}

.badge-network {
    font-size: 0.72rem;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.doctor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 14px;
    transition: transform 0.2s, border-color 0.2s;
}

.doctor-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.doc-top {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
}

.doc-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.doc-details {
    flex: 1;
}

.doc-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.doc-specialty {
    font-size: 0.82rem;
    color: #38bdf8;
    font-weight: 600;
}

.doc-hospital {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.doc-stats {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    margin-top: 4px;
}

.rating {
    color: #f59e0b;
    font-weight: 600;
}

.doc-slots-row {
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 8px;
}

.slot-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

.slot-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.slot-chip {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
}

.slot-chip:hover, .slot-chip.selected {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.doc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-fee {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.doc-fee small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Appointment Card */
.appointment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 14px;
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.appointment-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.appointment-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: modalScale 0.25s ease forwards;
}

@keyframes modalScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.btn-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.booking-summary-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 14px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.summary-item .label {
    color: var(--text-muted);
}

.summary-item.total {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 8px;
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.modal-notice {
    font-size: 0.75rem;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 8px;
    border-radius: 6px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.modal-footer .btn {
    flex: 1;
}

/* Audit Table */
.table-responsive {
    overflow-x: auto;
    margin-top: 10px;
}

.audit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.audit-table th {
    text-align: left;
    padding: 8px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.audit-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.badge-200 {
    color: #34d399;
    font-weight: 700;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 65px;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 50;
    padding: 0 10px;
}

@media (min-width: 992px) {
    .bottom-nav {
        max-width: 850px;
    }
}

.nav-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-item.active {
    color: #38bdf8;
}

.nav-icon {
    font-size: 1.25rem;
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* Mode Switcher: Login vs Enrollment */
.m1-mode-switch {
    display: flex;
    max-width: 480px;
    margin: 0 auto 20px auto;
    background: rgba(15, 23, 42, 0.6);
    padding: 5px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.mode-switch-btn {
    flex: 1;
    padding: 11px 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mode-switch-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

/* Alert Box */
.alert-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fde68a;
}

.alert-warning strong {
    color: #fbbf24;
    display: block;
    margin-bottom: 2px;
}

.alert-warning p {
    margin: 0;
    font-size: 0.8rem;
    color: #fef3c7;
}

/* Card Header Badge */
.card-header-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-header-badge h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #f8fafc;
}

.badge-tag {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Consent Group (CRT_ABHA_102) */
.consent-group {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.checkbox-container input {
    margin-top: 3px;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.consent-text strong {
    color: #f1f5f9;
}

/* Enrollment OTP Section */
.enroll-otp-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
