/* ============================================
   ProScribe AI - Modern Design System
   Inspired by Stripe & Microsoft Fluent Design
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* Colors - Light Mode */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f9fafb;
    --color-bg-tertiary: #f3f4f6;
    
    --color-border-primary: #e5e7eb;
    --color-border-secondary: #d1d5db;
    --color-border-hover: #9ca3af;
    
    --color-text-primary: #111827;
    --color-text-secondary: #6b7280;
    --color-text-tertiary: #9ca3af;
    
    /* Brand Colors */
    --color-blue: #3b82f6;
    --color-blue-hover: #2563eb;
    --color-blue-light: #dbeafe;
    --color-blue-dark: #1e40af;
    
    --color-green: #10b981;
    --color-green-hover: #059669;
    --color-green-light: #d1fae5;
    
    --color-purple: #8b5cf6;
    --color-purple-hover: #7c3aed;
    --color-purple-light: #ede9fe;
    
    --color-red: #ef4444;
    --color-red-hover: #dc2626;
    --color-red-light: #fee2e2;
    
    --color-orange: #f59e0b;
    --color-orange-light: #fef3c7;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
}

/* Dark Mode */
[data-theme="dark"] {
    --color-bg-primary: #0f172a;
    --color-bg-secondary: #1e293b;
    --color-bg-tertiary: #334155;
    
    --color-border-primary: #334155;
    --color-border-secondary: #475569;
    --color-border-hover: #64748b;
    
    --color-text-primary: #f1f5f9;
    --color-text-secondary: #cbd5e1;
    --color-text-tertiary: #94a3b8;
}

/* ===== Base Styles ===== */
.proscribe-app {
    min-height: 100vh;
    background: var(--color-bg-secondary);
    font-family: var(--font-sans);
    color: var(--color-text-primary);
}

.app-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
}

/* ===== Page Header ===== */
.page-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 2rem;
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border-primary);
}

.page-header-content {
    min-width: 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    font-size: 0.8125rem;
    font-weight: 500;
}

.breadcrumb-item {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item:hover {
    color: var(--color-text-primary);
}

.breadcrumb-item.active {
    color: var(--color-text-primary);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--color-text-tertiary);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 var(--space-2) 0;
    line-height: 1.2;
    color: var(--color-text-primary);
    word-wrap: break-word;
}

.page-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.page-header-actions {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn-primary-app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--color-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    line-height: 1;
}

.btn-primary-app:hover {
    background: var(--color-blue-hover);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.btn-primary-app:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-secondary-app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    border: 1.5px solid var(--color-border-secondary);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-secondary-app:hover {
    border-color: var(--color-text-primary);
    background: var(--color-bg-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-text-app {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: transparent;
    color: var(--color-text-secondary);
    border: none;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-text-app:hover {
    color: var(--color-text-primary);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: var(--color-bg-primary);
    border: 1.5px solid var(--color-border-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.btn-icon:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-sm);
}

/* ===== Stats Grid ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.stat-card {
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border-primary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--color-border-secondary);
    transform: translateY(-2px);
}

.stat-card-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.blue {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

.stat-icon.green {
    background: var(--color-green-light);
    color: var(--color-green);
}

.stat-icon.purple {
    background: var(--color-purple-light);
    color: var(--color-purple);
}

.stat-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    width: 100%;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.stat-badge.trial {
    background: var(--color-orange-light);
    color: var(--color-orange);
}

.stat-badge.essential {
    background: var(--color-green-light);
    color: var(--color-green);
}

.stat-badge.professional {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

.stat-badge.enterprise {
    background: var(--color-purple-light);
    color: var(--color-purple);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
    line-height: 1;
    color: var(--color-text-primary);
}

.stat-footer {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 20px;
}

.stat-change {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
}

.stat-change.positive {
    color: var(--color-green);
}

.stat-change.negative {
    color: var(--color-red);
}

/* ===== Section Headers ===== */
.section-header {
    margin-bottom: var(--space-6);
}

.section-title {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 var(--space-2) 0;
    color: var(--color-text-primary);
}

.section-description {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ===== Action Grid ===== */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.action-card {
    background: var(--color-bg-primary);
    border: 1.5px solid var(--color-border-primary);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-height: 80px;
}

.action-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-blue);
    transform: translateY(-4px);
}

.action-card:hover .action-card-icon {
    transform: scale(1.05);
}

.action-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.action-card-icon.blue {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

.action-card-icon.green {
    background: var(--color-green-light);
    color: var(--color-green);
}

.action-card-icon.purple {
    background: var(--color-purple-light);
    color: var(--color-purple);
}

.action-card-content {
    min-width: 0;
    flex: 1;
}

.action-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-card-description {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-card-arrow {
    color: var(--color-text-tertiary);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.action-card:hover .action-card-arrow {
    transform: translateX(4px);
}

/* ===== Professional Clinical Workflow ===== */
.workflow-section {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 2px solid var(--color-border-primary);
    border-bottom: 2px solid var(--color-border-primary);
}

.workflow-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.workflow-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.workflow-subtitle {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.workflow-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    position: relative;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    position: relative;
    z-index: 2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.step-line {
    width: 2px;
    flex: 1;
    background: var(--color-border-secondary);
    margin-top: 0.5rem;
}

.step-content-box {
    background: white;
    border: 1px solid var(--color-border-primary);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.step-content-box:hover {
    border-color: var(--color-border-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-icon-professional {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.step-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.step-text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.step-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-specs li {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

[data-theme="dark"] .step-content-box {
    background: var(--color-bg-primary);
    border-color: var(--color-border-primary);
}

[data-theme="dark"] .step-number {
    background: var(--color-bg-primary);
    border-color: var(--color-text-primary);
}

[data-theme="dark"] .step-icon-professional {
    background: var(--color-bg-secondary);
    border-color: var(--color-border-primary);
}

/* ===== Process Steps - Modern Cards ===== */
.process-flow-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: var(--space-8);
}

.process-card-modern {
    background: var(--color-bg-primary);
    border: 1.5px solid var(--color-border-primary);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-green) 50%, var(--color-purple) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-card-modern:hover::before {
    opacity: 1;
}

.process-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-border-secondary);
}

.process-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.process-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-bg-secondary);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-primary);
    font-family: var(--font-mono);
}

.process-icon-modern {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.process-icon-modern.blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: var(--color-blue);
}

.process-icon-modern.green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: var(--color-green);
}

.process-icon-modern.purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    color: var(--color-purple);
}

.process-card-modern:hover .process-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.process-card-content {
    margin-bottom: 1.5rem;
}

.process-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.process-card-description {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.process-card-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
}

.feature-check-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    padding: 2px;
    background: var(--color-green-light);
    border-radius: 50%;
    stroke: var(--color-green);
}

.process-card-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border-primary);
}

.process-arrow {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-tertiary);
    transition: all 0.3s ease;
}

.process-card-modern:hover .process-arrow {
    background: var(--color-blue-light);
    color: var(--color-blue);
    transform: translateX(4px);
}

.process-checkmark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--color-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
}

/* Legacy Process Steps (keep for backward compatibility) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    position: relative;
}

.process-step {
    text-align: center;
    padding: var(--space-6);
}

.process-step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.process-step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    border-radius: 16px;
    background: var(--color-blue-light);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.process-step-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 var(--space-2) 0;
    color: var(--color-text-primary);
}

.process-step-description {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.process-connector {
    position: absolute;
    top: 50%;
    left: 33.33%;
    right: 66.66%;
    height: 2px;
    background: var(--color-border-primary);
    transform: translateY(-50%);
}

/* ===== Alert Banner ===== */
.alert-banner {
    background: var(--color-orange-light);
    border: 1.5px solid var(--color-orange);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: var(--space-8);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.alert-banner.warning {
    border-left-color: var(--color-orange);
}

.alert-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--color-text-primary);
}

.alert-message {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ===== Credits Badge ===== */
.credits-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.5rem 1rem;
    background: var(--color-bg-primary);
    border: 1.5px solid var(--color-border-secondary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ===== Form Elements ===== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-5);
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
    display: block;
}

.form-input,
.form-select {
    padding: 0.625rem 0.875rem;
    background: var(--color-bg-primary);
    border: 1.5px solid var(--color-border-primary);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--color-text-primary);
    transition: all 0.15s ease;
    font-family: var(--font-sans);
    line-height: 1.5;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: white;
}

.form-input::placeholder {
    color: var(--color-text-tertiary);
}

.form-actions {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .app-container {
        padding: 1.5rem 1rem;
    }
    
    .page-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: var(--space-6);
    }
    
    .page-header-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-primary-app,
    .btn-secondary-app {
        width: 100%;
        justify-content: center;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .page-description {
        font-size: 0.9375rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-card {
        padding: 1rem;
        min-height: auto;
    }
    
    .action-card-title,
    .action-card-description {
        white-space: normal;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-connector {
        display: none;
    }
}
