/* ================================
   LocalPlanner.ai - Concept A
   Government Portal Design
   ================================ */

:root {
    /* Colors */
    --navy: #1a365d;
    --navy-light: #2c4a7c;
    --navy-dark: #0f2340;
    --eucalyptus: #2d6a4f;
    --eucalyptus-light: #40916c;
    --eucalyptus-dark: #1b4332;
    --sand: #f5f0e6;
    --sand-light: #faf8f3;
    --sand-dark: #e8e0d0;
    --coral: #e07a5f;
    --coral-light: #f4a261;
    --coral-dark: #c65d3d;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-600: #525252;
    --gray-800: #262626;

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(26, 54, 93, 0.05);
    --shadow-md: 0 4px 12px rgba(26, 54, 93, 0.08);
    --shadow-lg: 0 8px 24px rgba(26, 54, 93, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 54, 93, 0.16);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--navy);
    background-color: var(--sand-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 243, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-dark);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--navy);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
}

.logo-dot {
    color: var(--eucalyptus);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--eucalyptus);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--portal {
    padding: var(--space-sm) var(--space-md);
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-md);
}

.nav-link--portal::after {
    display: none;
}

.nav-link--portal:hover {
    background: var(--navy-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: calc(80px + var(--space-4xl)) var(--space-xl) var(--space-4xl);
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--white);
    border: 1px solid var(--sand-dark);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--eucalyptus);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.title-highlight {
    color: var(--eucalyptus);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    max-width: 540px;
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--sand-dark);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--navy);
}

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

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.journey-preview {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.journey-preview::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--eucalyptus-light) 0%, var(--navy-light) 100%);
    border-radius: calc(var(--radius-xl) + 8px);
    z-index: -1;
    opacity: 0.1;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    min-width: 100px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-base);
}

.journey-step--active {
    color: var(--eucalyptus);
}

.step-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand);
    border-radius: 50%;
    transition: var(--transition-base);
}

.journey-step--active .step-icon {
    background: var(--eucalyptus);
    color: var(--white);
}

.step-icon svg {
    width: 24px;
    height: 24px;
}

.journey-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--eucalyptus) 0%, var(--sand-dark) 100%);
    border-radius: 2px;
}

/* Pathways Section */
.pathways {
    padding: var(--space-4xl) var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.pathways-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
}

.pathway-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.pathway-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pathway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sand-dark);
    transition: var(--transition-base);
}

.pathway-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pathway-card--explorer::before {
    background: var(--eucalyptus);
}

.pathway-card--validator::before {
    background: var(--coral);
}

.pathway-card--council::before {
    background: var(--navy);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    color: var(--navy);
}

.pathway-card--explorer .card-icon {
    color: var(--eucalyptus);
}

.pathway-card--validator .card-icon {
    color: var(--coral);
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: var(--space-md);
    color: var(--navy);
}

.card-description {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.card-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.card-features li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: var(--gray-600);
}

.card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--eucalyptus);
    border-radius: 50%;
}

.pathway-card--validator .card-features li::before {
    background: var(--coral);
}

.pathway-card--council .card-features li::before {
    background: var(--navy);
}

.card-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: var(--eucalyptus);
    transition: var(--transition-fast);
}

.pathway-card--validator .card-cta {
    color: var(--coral);
}

.pathway-card--council .card-cta {
    color: var(--navy);
}

.card-cta svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.pathway-card:hover .card-cta svg {
    transform: translateX(4px);
}

/* Trust Section */
.trust-section {
    background: var(--navy);
    padding: var(--space-4xl) var(--space-xl);
    margin-top: var(--space-4xl);
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust-section .section-title {
    color: var(--white);
}

.trust-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.council-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.council-logo {
    opacity: 0.6;
    transition: var(--transition-fast);
}

.council-logo:hover {
    opacity: 1;
}

.logo-placeholder {
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    text-align: left;
}

.trust-feature {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--eucalyptus);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    color: var(--white);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.trust-feature h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.trust-feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: var(--space-4xl) var(--space-xl);
    text-align: center;
    background: linear-gradient(180deg, var(--sand-light) 0%, var(--sand) 100%);
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: var(--gray-600);
    margin-bottom: var(--space-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

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

.btn--primary:hover {
    background: var(--eucalyptus-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--sand-dark);
}

.btn--secondary:hover {
    border-color: var(--navy);
}

/* Footer */
.site-footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: var(--space-4xl) var(--space-xl) var(--space-xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-4xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-md);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--eucalyptus-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: var(--space-xl) auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-disclaimer {
    max-width: 480px;
    text-align: right;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .pathway-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .trust-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: calc(70px + var(--space-2xl));
        min-height: auto;
        padding-bottom: var(--space-2xl);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: center;
    }

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

    .journey-preview {
        flex-direction: column;
        padding: var(--space-lg);
    }

    .journey-line {
        width: 2px;
        height: 30px;
        background: linear-gradient(180deg, var(--eucalyptus) 0%, var(--sand-dark) 100%);
    }

    .pathways {
        padding: var(--space-2xl) var(--space-md);
    }

    .council-logos {
        gap: var(--space-md);
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-disclaimer {
        text-align: center;
    }
}

/* Page-specific styles */
.page-header {
    padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
    background: var(--sand);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
}

/* Form Styles */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--eucalyptus);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.form-input::placeholder {
    color: var(--gray-300);
}

/* Address Search */
.address-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.address-search .form-input {
    padding-left: var(--space-3xl);
    padding-right: var(--space-3xl);
}

.search-icon {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--gray-300);
}

.search-btn {
    position: absolute;
    right: var(--space-sm);
    top: 50%;
    transform: translateY(-50%);
    padding: var(--space-sm) var(--space-md);
    background: var(--eucalyptus);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-btn:hover {
    background: var(--eucalyptus-dark);
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed var(--sand-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-4xl) var(--space-xl);
    text-align: center;
    transition: var(--transition-base);
    cursor: pointer;
    background: var(--sand-light);
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--eucalyptus);
    background: rgba(45, 106, 79, 0.05);
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    color: var(--eucalyptus);
}

.upload-zone h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.upload-zone p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.upload-formats {
    margin-top: var(--space-md);
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--sand);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
}

.progress-step--active {
    background: var(--eucalyptus);
    color: var(--white);
}

.progress-step--complete {
    background: var(--eucalyptus-light);
    color: var(--white);
}

.step-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.75rem;
}

/* Results Card */
.results-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--sand);
}

.results-title {
    font-size: 1.25rem;
}

.results-badge {
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.results-badge--success {
    background: rgba(45, 106, 79, 0.1);
    color: var(--eucalyptus);
}

.results-badge--warning {
    background: rgba(244, 162, 97, 0.2);
    color: var(--coral-dark);
}

.results-badge--error {
    background: rgba(224, 122, 95, 0.1);
    color: var(--coral);
}

/* Compliance List */
.compliance-list {
    list-style: none;
}

.compliance-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--sand);
}

.compliance-item:last-child {
    border-bottom: none;
}

.compliance-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.compliance-icon--pass {
    color: var(--eucalyptus);
}

.compliance-icon--fail {
    color: var(--coral);
}

.compliance-icon--warning {
    color: var(--coral-light);
}

.compliance-content h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.compliance-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Council Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
    min-height: calc(100vh - 80px);
}

.dashboard-sidebar {
    background: var(--navy);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.sidebar-nav {
    list-style: none;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    margin-bottom: var(--space-xs);
}

.sidebar-link:hover,
.sidebar-link--active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
}

.dashboard-main {
    padding: var(--space-xl);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
}

.stat-card-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy);
}

.stat-card-change {
    font-size: 0.8rem;
    margin-top: var(--space-sm);
}

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

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

/* Application Table */
.applications-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--sand);
}

.table-title {
    font-size: 1.1rem;
}

.table-filters {
    display: flex;
    gap: var(--space-md);
}

.filter-btn {
    padding: var(--space-sm) var(--space-md);
    background: var(--sand-light);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn--active {
    background: var(--navy);
    color: var(--white);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--sand);
}

th {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    background: var(--sand-light);
}

td {
    font-size: 0.95rem;
}

.status-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge--pending {
    background: rgba(244, 162, 97, 0.2);
    color: var(--coral-dark);
}

.status-badge--review {
    background: rgba(26, 54, 93, 0.1);
    color: var(--navy);
}

.status-badge--approved {
    background: rgba(45, 106, 79, 0.1);
    color: var(--eucalyptus);
}

.priority-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: var(--space-sm);
}

.priority-indicator--high {
    background: var(--coral);
}

.priority-indicator--medium {
    background: var(--coral-light);
}

.priority-indicator--low {
    background: var(--eucalyptus);
}

/* Login Form */
.login-container {
    max-width: 440px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
}

.login-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.login-header h1 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.login-header p {
    color: var(--gray-600);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    color: var(--gray-600);
    font-size: 0.85rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sand-dark);
}

.sso-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--sand-light);
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sso-btn:hover {
    border-color: var(--navy);
}

.sso-btn svg {
    width: 20px;
    height: 20px;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideIn 0.5s ease-out forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
