/* NCCN Compliance Check - ClinixBoost Warm Cream Aesthetic */

:root {
    /* Primary Colors - Muted Teal (ClinixBoost palette) */
    --primary: #5b8a8a;
    --primary-light: #7d9a8c;
    --primary-dark: #4a7272;

    /* Accent Colors - Same as primary for consistency */
    --accent: #5b8a8a;
    --accent-light: #7d9a8c;
    --accent-dark: #4a7272;

    /* Status Colors - Soft, muted tones */
    --success: #2d5a4a;
    --success-light: #e8f0eb;
    --success-border: #7d9a8c;
    --warning: #7a5a3a;
    --warning-light: #fef6e8;
    --warning-border: #d4a59a;
    --error: #7a3a3a;
    --error-light: #fdf2f2;
    --error-border: #c9b8b0;

    /* Gold/Amber Highlight */
    --gold: #b8860b;
    --gold-light: #fef6e8;

    /* Warm Cream Neutrals */
    --white: #ffffff;
    --cream: #faf8f5;
    --cream-dark: #f5f0e8;
    --gray-50: #faf8f5;
    --gray-100: #f5f0e8;
    --gray-200: #e2e0dc;
    --gray-300: #c9c5be;
    --gray-400: #9a958c;
    --gray-500: #6b6560;
    --gray-600: #4a4540;
    --gray-700: #3a3530;
    --gray-800: #2d3748;
    --gray-900: #1a1612;

    /* Design Tokens */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--cream-dark);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.875rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.logo-image {
    height: 36px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-link:hover { color: var(--primary); }

.user-name {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.app-main {
    flex: 1;
    padding: 2.5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.app-footer {
    background: var(--cream-dark);
    border-top: 1px solid var(--gray-200);
    padding: 1.25rem 2rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--gray-800);
}

h1 { font-size: 2rem; line-height: 1.2; }
h2 { font-size: 1.5rem; line-height: 1.3; }
h3 { font-size: 1.125rem; line-height: 1.4; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

.btn-outline {
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
    background: var(--gray-100);
}

.btn-sm { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-arrow::after {
    content: '\2192';
    margin-left: 0.25rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-group.remember-me {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-transform: none;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.checkbox-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--accent);
    cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--gray-400);
}

.code-input {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    text-align: center;
    letter-spacing: 0.75rem;
    padding: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.alert-icon {
    flex-shrink: 0;
    font-size: 1.125rem;
}

.alert-error {
    background: var(--error-light);
    border: 1px solid var(--error-border);
    color: var(--error);
}

.alert-success {
    background: var(--success-light);
    border: 1px solid var(--success-border);
    color: var(--success);
}

.alert-warning {
    background: var(--warning-light);
    border: 1px solid var(--warning-border);
    color: var(--warning);
}

.alert-info {
    background: #e8f0f5;
    border: 1px solid #a0c4d8;
    color: #4a7090;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-logo-image {
    height: 48px;
    width: auto;
    display: block;
}

.auth-header h1 {
    font-size: 1.5rem;
    margin: 1.25rem 0 0.5rem;
}

.auth-header p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.auth-footer a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Landing Page */
.landing-page {
    min-height: 100vh;
}

.landing-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    margin: -2.5rem -2rem 3rem;
    text-align: center;
    border-radius: 0 0 24px 24px;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-light);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: var(--accent);
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.hero-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.hero-actions .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Feature Cards */
.features-section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.0625rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Dashboard */
.dashboard-header {
    margin-bottom: 2.5rem;
}

.dashboard-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: var(--gray-500);
    font-size: 1rem;
}

/* Upload Section */
.upload-section {
    max-width: 640px;
    margin: 0 auto;
}

.upload-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.upload-card-header {
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.upload-card-header h2 {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.upload-card-header p {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

.upload-card-body {
    padding: 2rem;
}

.upload-dropzone {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    background: var(--gray-50);
    transition: all 0.2s;
    cursor: pointer;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--accent);
    background: rgba(13, 148, 136, 0.05);
}

.dropzone-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.dropzone-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.dropzone-content p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.dropzone-hint {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-top: 0.75rem;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-name {
    margin-top: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.upload-form > .btn {
    margin-top: 1.5rem;
}

/* Input Tabs */
.input-tabs {
    margin-bottom: 1.5rem;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0;
}

.tab-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--gray-700);
}

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tab-content {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Format Selector */
.format-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.format-option {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    cursor: pointer;
}

.format-option input[type="radio"] {
    accent-color: var(--accent);
}

/* Text Input Area */
.text-input-area textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    resize: vertical;
    min-height: 300px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.text-input-area textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
    background: var(--white);
}

.text-input-area textarea::placeholder {
    color: var(--gray-400);
    font-family: var(--font-sans);
}

.text-hint {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
    text-align: center;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0 auto 0.75rem;
    position: relative;
    z-index: 1;
}

.step-label {
    font-size: 0.8125rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Processing View */
.processing-view {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.processing-header {
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.processing-header h2 {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.processing-header p {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

.processing-body {
    padding: 2rem;
}

.processing-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .processing-layout {
        grid-template-columns: 1fr;
    }
}

/* Steps Sidebar */
.steps-sidebar {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.steps-sidebar h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-weight: 600;
}

.steps-list {
    list-style: none;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
    transition: all 0.15s;
}

.step-item.running {
    background: var(--accent);
    color: var(--white);
}

.step-item.complete {
    color: var(--success);
}

.step-item.error {
    color: var(--error);
}

.step-status {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* Step Details */
.step-details {
    min-height: 300px;
}

.step-update {
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--gray-300);
}

.step-update.running {
    border-left-color: var(--accent);
    background: rgba(13, 148, 136, 0.05);
}

.step-update.complete {
    border-left-color: var(--success);
}

.step-update.error {
    border-left-color: var(--error);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.step-header h3 {
    font-size: 1rem;
}

.step-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.step-badge.running {
    background: var(--accent);
    color: var(--white);
}

.step-badge.complete {
    background: var(--success);
    color: var(--white);
}

.step-badge.error {
    background: var(--error);
    color: var(--white);
}

.step-description {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.step-details-list h4 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-details-list ul {
    list-style: none;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.step-details-list li {
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.step-details-list li:last-child {
    border-bottom: none;
}

.step-timing {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.75rem;
}

.step-data details {
    margin-top: 1rem;
}

.step-data summary {
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
}

.step-data pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: 0.75rem;
    margin-top: 0.75rem;
    font-family: var(--font-mono);
}

.step-error {
    background: var(--error-light);
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

/* Results View */
.results-view {
    max-width: 900px;
}

.results-header {
    margin-bottom: 2rem;
}

.results-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.results-header p {
    color: var(--gray-500);
}

.result-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.result-card-header {
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.result-card-header .icon {
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.result-card-header h3 {
    font-size: 0.9375rem;
    margin: 0;
}

.result-card-body {
    padding: 1.5rem;
}

/* Compliance Summary Card */
.compliance-summary {
    border-width: 2px;
}

.compliance-summary.compliant {
    border-color: var(--success);
}

.compliance-summary.non-compliant {
    border-color: var(--error);
}

/* Engine could not reach a verdict -- neutral amber, not the red of a violation */
.compliance-summary.indeterminate {
    border-color: var(--warning-border);
}

.compliance-summary .result-card-header {
    padding: 0;
    background: none;
    border: none;
}

.compliance-banner {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compliant .compliance-banner {
    background: linear-gradient(135deg, #7d9a8c 0%, #5b8a8a 100%);
    color: var(--white);
}

.non-compliant .compliance-banner {
    background: linear-gradient(135deg, #c9b8b0 0%, #a08078 100%);
    color: var(--white);
}

.indeterminate .compliance-banner {
    background: linear-gradient(135deg, #d4b896 0%, #b8946a 100%);
    color: var(--white);
}

.compliance-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.compliance-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.compliance-label {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.compliance-sublabel {
    font-size: 0.8125rem;
    opacity: 0.9;
}

.compliance-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.compliance-details {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}

.detail-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.rationale-section {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.rationale-section h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.rationale-section p,
.rationale-content {
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.rationale-content h1,
.rationale-content h2,
.rationale-content h3,
.rationale-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1rem 0 0.5rem;
}

.rationale-content h1:first-child,
.rationale-content h2:first-child,
.rationale-content h3:first-child {
    margin-top: 0;
}

.rationale-content ul,
.rationale-content ol {
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}

.rationale-content li {
    margin-bottom: 0.375rem;
}

.rationale-content strong {
    font-weight: 600;
    color: var(--gray-800);
}

.rationale-content code {
    background: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.875em;
}

.rationale-content p {
    margin-bottom: 0.75rem;
}

.rationale-content p:last-child {
    margin-bottom: 0;
}

.warnings {
    margin: 0 1.5rem 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--warning-light);
    border: 1px solid #fcd34d;
    border-radius: var(--radius-sm);
}

.warnings h4 {
    color: #92400e;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.warnings ul {
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: #78350f;
}

/* Data Display */
.data-grid {
    display: grid;
    gap: 0;
}

.data-row {
    display: flex;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    width: 160px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-500);
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.data-value {
    font-size: 0.9375rem;
    color: var(--gray-800);
}

.data-value.editable {
    cursor: pointer;
    padding: 0.25rem 0.75rem;
    margin: -0.25rem -0.75rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.data-value.editable:hover {
    background: var(--gray-100);
}

.edit-icon {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Biomarkers */
.biomarkers-section h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.biomarkers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.biomarker-item {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}

.biomarker-item.positive {
    border-color: var(--success);
    background: var(--success-light);
}

.biomarker-item.negative {
    border-color: var(--gray-300);
}

.marker-name {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marker-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: 0.375rem;
    color: var(--gray-800);
}

/* Prior Therapy */
.prior-therapy-list {
    list-style: none;
    margin: 1rem 0;
}

.prior-therapy-list li {
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    display: flex;
    justify-content: space-between;
}

/* Current Therapy */
.current-therapy-section h4 {
    color: var(--primary);
    margin-top: 1.5rem;
}

.current-therapy-list {
    list-style: none;
    margin: 1rem 0;
}

.current-therapy-list li {
    padding: 0.75rem 1rem;
    background: #e8f5e9;
    border-left: 3px solid var(--success);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Pending Therapy */
.pending-therapy-section {
    margin-bottom: 1rem;
}

.pending-therapy-list {
    list-style: none;
    margin: 1rem 0;
}

.pending-therapy-list li {
    padding: 0.75rem 1rem;
    background: #fff3e0;
    border-left: 3px solid var(--warning, #f59e0b);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Line of Therapy Badge */
.therapy-line {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

/* Intent Badge (for adjuvant/neoadjuvant) */
.therapy-intent {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--gray-500);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.no-data {
    color: var(--gray-400);
    font-style: italic;
    font-size: 0.875rem;
}

/* Medications Table */
.medications-table {
    width: 100%;
    border-collapse: collapse;
}

.medications-table th,
.medications-table td {
    padding: 0.875rem 1rem;
    text-align: left;
}

.medications-table th {
    font-weight: 600;
    color: var(--gray-500);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.medications-table td {
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--gray-100);
}

.medications-table tr:last-child td {
    border-bottom: none;
}

.regimen-details h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.order-meta {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

/* Alternatives */
.alternatives-list {
    display: grid;
    gap: 1rem;
}

.alternative-item {
    padding: 1rem 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.5rem;
    align-items: center;
}

.alt-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.alt-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(13, 148, 136, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.alt-cost {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a365d;
    background: rgba(26, 54, 93, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.alt-notes {
    grid-column: 1 / -1;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Regimen Cost List */
.cost-list {
    display: grid;
    gap: 0.5rem;
}

.cost-item {
    padding: 0.75rem 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
}

.cost-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.cost-source {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(13, 148, 136, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.cost-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a365d;
    text-align: right;
    min-width: 120px;
}

.cost-item.cost-total {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.cost-item.cost-total .cost-value {
    font-size: 1.0625rem;
    color: #1a365d;
}

/* Tabs Navigation */
.tabs-container {
    margin-bottom: 1.5rem;
}

.tabs-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0;
}

.tab-btn {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}

.tab-badge {
    background: var(--primary-light);
    color: var(--white);
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.tab-actions-top {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Diagnostic Tests Section */
.diagnostic-tests-card {
    border-left: 4px solid var(--accent);
}

.diagnostic-tests-card .result-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.diagnostic-summary {
    margin-bottom: 1.5rem;
}

.summary-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    min-width: 80px;
}

.stat-item .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-item .stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-item.recommended {
    background: rgba(56, 161, 105, 0.1);
    color: #38a169;
}

.stat-item.conditional {
    background: rgba(214, 158, 46, 0.1);
    color: #d69e2e;
}

.stat-item.not-found {
    background: rgba(229, 62, 62, 0.1);
    color: #e53e3e;
}

.summary-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.tests-section {
    margin-bottom: 1.5rem;
}

.tests-section .section-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tests-section .section-title.recommended {
    color: #38a169;
}

.tests-section .section-title.conditional {
    color: #d69e2e;
}

.tests-section .section-title.not-found {
    color: #e53e3e;
}

.tests-list {
    display: grid;
    gap: 0.75rem;
}

.test-item {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}

.test-item.recommended {
    background: rgba(56, 161, 105, 0.05);
    border-color: rgba(56, 161, 105, 0.3);
}

.test-item.conditional {
    background: rgba(214, 158, 46, 0.05);
    border-color: rgba(214, 158, 46, 0.3);
}

.test-item.not-found {
    background: rgba(229, 62, 62, 0.05);
    border-color: rgba(229, 62, 62, 0.3);
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.test-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.test-category {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.test-rationale {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.test-citations {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.test-citations .citations-label {
    font-weight: 600;
}

.diagnostic-tests-card .legend {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.diagnostic-tests-card .legend p {
    margin: 0.25rem 0;
}

/* Guideline Reference */
.guideline-ref {
    border-left: 4px solid var(--gold);
}

.guideline-ref .result-card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guideline-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    flex-shrink: 0;
}

.guideline-info p {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.guideline-info .accessed {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 400;
}

.guideline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s;
}

.guideline-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.guideline-link .external-icon {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Feedback Section */
.feedback-section {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 2.5rem;
}

.feedback-section h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feedback-section > p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.feedback-form {
    display: grid;
    gap: 1.25rem;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
}

.star-btn.active {
    color: var(--gold);
}

.star-btn:hover {
    color: #f59e0b;
    transform: scale(1.1);
}

.btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-group input[type="radio"] {
    display: none;
}

.btn-group label.btn {
    cursor: pointer;
}

.btn-group input:checked + label.btn {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.rating-group {
    margin-bottom: 1rem;
}

.rating-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* Actions */
.actions {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 1rem;
}

/* Spinners */
.spinner,
.spinner-sm,
.spinner-lg {
    display: inline-block;
    border: 3px solid var(--gray-200);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner { width: 20px; height: 20px; }
.spinner-sm { width: 14px; height: 14px; border-width: 2px; }
.spinner-lg { width: 40px; height: 40px; border-width: 4px; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* HTMX */
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline-flex; align-items: center; gap: 0.5rem; }
.htmx-request .btn-text { display: none; }

/* MFA */
.mfa-tabs { margin-top: 1.5rem; }

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s;
}

.tab-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.qr-container { text-align: center; margin: 1.5rem 0; }
.qr-code { max-width: 200px; border-radius: var(--radius-sm); }

.secret-key {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    text-align: center;
    word-break: break-all;
    margin: 1rem 0;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.text-muted { color: var(--gray-500); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }

/* ClinixBoost Status Cards */
.status-card {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.status-card.compliant,
.status-card.match {
    background-color: var(--success-light);
    border-left: 4px solid var(--success-border);
}

.status-card.pending,
.status-card.needs-data {
    background-color: var(--warning-light);
    border-left: 4px solid var(--warning-border);
}

.status-card.non-compliant,
.status-card.excluded {
    background-color: var(--error-light);
    border-left: 4px solid var(--error-border);
}

/* Source badges */
.source-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 6px;
}

.source-badge-nccn {
    background-color: var(--success-light);
    color: var(--primary);
}

.source-badge-order {
    background-color: var(--warning-light);
    color: var(--gold);
}

/* Metric boxes */
.metric-box {
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.metric-box .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-serif);
}

.metric-box .label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Results summary grid */
.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Soft focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91, 138, 138, 0.15);
}

/* Settings Page */
.settings-page {
    max-width: 640px;
    margin: 0 auto;
}

.settings-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.settings-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.settings-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.settings-header p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.settings-section {
    margin-bottom: 2rem;
}

.settings-section h2 {
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.settings-item-info h3 {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.settings-item-info p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin: 0;
}

.settings-item-danger {
    background: var(--error-light);
    border: 1px solid var(--error-border);
}

.settings-form {
    max-width: 400px;
}

.settings-form .form-group {
    margin-bottom: 1.25rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.settings-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Danger Button */
.btn-danger {
    background: var(--error);
    color: var(--white);
}

.btn-danger:hover {
    background: #5a2a2a;
}

/* Forgot Password Link */
.remember-me-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--accent);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* MFA Info and Actions */
.mfa-info {
    text-align: center;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.mfa-info p {
    margin: 0;
}

.mfa-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}
