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

:root {
    
    --primary: #176b4d;
    --primary-dark: #0f4f39;
    --primary-light: #e7f1ec;
    --secondary: #c5962d;
    --secondary-dark: #9b741f;
    --accent-light: #f7edd2;
    --success: #10B981;
    --warning: #F59E0B;
    
    
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --card-border: rgba(23, 107, 77, 0.18);
    --card-border-strong: rgba(23, 107, 77, 0.28);
    --card-shadow-soft: 0 12px 28px rgba(9, 34, 24, 0.08);

    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

body.auth-pending {
    visibility: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(23, 107, 77, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 107, 77, 0.35);
}

.btn-secondary {
    background-color: var(--accent-light);
    color: var(--secondary-dark);
    border: 1px solid rgba(197, 150, 45, 0.18);
}

.btn-secondary:hover {
    background-color: #f1e1b0;
    transform: translateY(-1px);
}

.hero-section .btn-primary {
    background-color: var(--secondary);
    color: #1f1a0d;
    box-shadow: 0 12px 28px rgba(103, 76, 18, 0.28);
}

.hero-section .btn-primary:hover {
    background-color: #dfb24f;
    box-shadow: 0 16px 34px rgba(103, 76, 18, 0.34);
}

.hero-section .btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
}

.hero-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}


.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 252, 249, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
}

.navbar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 17px;
    color: var(--gray-900);
    text-decoration: none;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    position: relative;
    transition: color var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-desktop {
    display: inline-flex;
}

.login-mobile {
    display: none;
}

.signup-desktop {
    display: inline-flex;
}

.signup-mobile {
    display: none;
}

.signup-desktop,
.signup-mobile {
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-dark);
    border: 1px solid rgba(23, 107, 77, 0.16);
    box-shadow: 0 10px 24px rgba(15, 79, 57, 0.08);
}

.signup-desktop:hover,
.signup-mobile:hover {
    background: #f5fbf7;
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 79, 57, 0.12);
}

.nav-overlay {
    display: none;
}

.nav-menu-header,
.nav-menu-logo,
.nav-menu-copy,
.nav-menu-eyebrow {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background-color: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.hero-section {
    padding: 140px 0 100px;
    background:
        radial-gradient(circle at 18% 22%, rgba(247, 237, 210, 0.12), transparent 18%),
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.26), transparent 26%),
        radial-gradient(circle at 78% 30%, rgba(255, 214, 102, 0.16), transparent 20%),
        linear-gradient(135deg, #176b4d 0%, #13563d 45%, #0f4f39 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(247, 237, 210, 0.14);
    border: 1px solid rgba(247, 237, 210, 0.26);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #fff6dc;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}


.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: min(460px, 100%);
}

.stat-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(233, 244, 238, 0.12) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 34px rgba(6, 29, 20, 0.18);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(247, 237, 210, 0.24), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

.stat-card::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(247, 237, 210, 0.28) 100%);
    opacity: 0.92;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(6, 29, 20, 0.26);
    border-color: rgba(247, 237, 210, 0.24);
}

.stat-value {
    font-size: 30px;
    font-weight: 800;
    color: #fff9ea;
    line-height: 1;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}


@media (max-width: 920px) {
    .hero-stats-grid {
        display: flex;
        gap: 10px;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .hero-stats-grid::-webkit-scrollbar {
        display: none;
    }
    
    .stat-card {
        flex: 0 0 148px;
        min-height: 116px;
        padding: 16px 12px;
        scroll-snap-align: start;
    }
    
    .stat-value {
        font-size: 24px;
    }

    .stat-title {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .hero-stats-grid {
        gap: 8px;
    }

    .stat-card {
        flex-basis: 132px;
        min-height: 104px;
        padding: 14px 10px;
        border-radius: 16px;
    }

    .stat-card::after {
        left: 14px;
        right: 14px;
    }

    .stat-value {
        font-size: 21px;
        margin-bottom: 6px;
    }

    .stat-title {
        font-size: 10px;
        line-height: 1.35;
    }
}


.highlights-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.highlight-card {
    padding: 28px;
    background-color: #fbfdfb;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow-soft);
    text-align: center;
    transition: all var(--transition-normal);
}

.highlight-card:hover {
    background-color: var(--white);
    border-color: var(--card-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-dark);
    font-size: 20px;
    margin: 0 auto 16px;
}

.highlight-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}


.about-section {
    padding: var(--section-padding);
    background-color: #f4f8f4;
}

.about-section .section-header {
    margin-bottom: 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.about-text {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.about-brand {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.about-top-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.about-brand-text div {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}

.about-brand-text small {
    display: block;
    margin-top: 0;
    font-size: 13px;
    color: var(--gray-500);
}

.info-card-placeholder {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 48px 24px;
    text-align: center;
    color: var(--primary);
    border: 1px solid var(--card-border);
}

.about-logo-image {
    width: min(240px, 100%);
    height: auto;
    display: block;
    margin: 0 auto 20px;
    object-fit: contain;
}


.services-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 28px;
    background-color: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow-soft);
    text-align: center;
    transition: all var(--transition-normal);
}

.service-card:hover {
    border-color: var(--card-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 44px;
    height: 44px;
    background-color: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-dark);
    font-size: 18px;
    margin: 0 auto 16px;
}

.service-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-500);
}


.features-section {
    padding: var(--section-padding);
    background-color: #f4f8f4;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background-color: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow-soft);
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--card-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}


.process-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    position: relative;
    padding: 32px 24px;
    background-color: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow-soft);
    text-align: center;
    transition: all var(--transition-normal);
}

.step-card:hover {
    border-color: var(--card-border-strong);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--gray-500);
}


.contact-section {
    padding: 80px 0 32px;
    background-color: #f4f8f4;
    margin-bottom: 0;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-placeholder {
    width: min(620px, 100%);
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(244, 248, 244, 0.98) 0%, rgba(236, 244, 238, 0.98) 100%);
    border-radius: 26px;
    box-shadow: 0 18px 38px rgba(12, 44, 31, 0.08);
    padding: 56px 28px;
    color: var(--gray-700);
    border: 1px solid var(--card-border-strong);
    text-align: center;
    text-decoration: none;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.map-placeholder:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(12, 44, 31, 0.12);
}

.map-placeholder i {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    font-size: 30px;
    box-shadow: 0 14px 30px rgba(15, 79, 57, 0.22);
}

.map-placeholder div {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.map-placeholder small {
    display: block;
    font-size: 15px;
    color: var(--gray-500);
}

.map-address {
    max-width: 34ch;
    margin: 0 auto 10px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}


.footer-section {
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.14), transparent 22%),
        linear-gradient(180deg, #123826 0%, #0d2b1d 100%);
    color: #d8e4dc;
    padding: 28px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: capitalize;
}

.footer-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(247, 237, 210, 0.12);
    border: 1px solid rgba(247, 237, 210, 0.18);
    color: #f6e8bc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-summary {
    max-width: 34ch;
    margin: 0 auto;
    color: #c8d7ce;
    font-size: 14px;
    line-height: 1.7;
}

.footer-links,
.footer-contact {
    padding: 0;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
    text-align: left;
}

.footer-links a {
    display: block;
    color: #b7c7bc;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 6px;
    padding: 4px 0;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
    color: #f0cf7b;
    transform: translateX(3px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #b7c7bc;
    margin-bottom: 8px;
    padding: 4px 0;
}

.footer-contact p i {
    width: 18px;
    color: #f0cf7b;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact p span {
    line-height: 1.6;
}

.footer-links a:last-child,
.footer-contact p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-bottom {
    padding: 18px 0 24px;
    text-align: center;
    color: rgba(216, 228, 220, 0.72);
    font-size: 13px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-section {
        padding-top: 34px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 28px;
        align-items: start;
        padding-bottom: 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 620px;
        margin: 0 auto 6px;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-eyebrow {
        margin-bottom: 10px;
    }

    .footer-logo {
        justify-content: center;
        font-size: 22px;
        margin-bottom: 8px;
    }

    .footer-summary {
        font-size: 13px;
        line-height: 1.6;
        margin-left: auto;
        margin-right: auto;
        max-width: 40ch;
    }

    .footer-links h4,
    .footer-contact h4 {
        margin-bottom: 10px;
        text-align: center;
    }

    .footer-links a,
    .footer-contact p {
        font-size: 13px;
        margin-bottom: 4px;
        padding: 2px 0;
    }

    .footer-contact p {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom {
        padding: 14px 0 18px;
    }
}

@media (min-width: 1025px) {
    .footer-section {
        padding-top: 56px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 26px;
        padding-bottom: 36px;
    }

    .footer-brand {
        grid-column: auto;
        text-align: left;
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .footer-summary {
        margin-left: 0;
        margin-right: 0;
    }
}



@media (min-width: 1025px) and (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 44px;
        text-align: center;
    }

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

    .hero-badge,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .about-brand {
        flex-direction: column;
        justify-content: center;
    }
}


@media (max-width: 1024px) {
    
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-grid {
        justify-items: center;
        text-align: center;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

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

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

    .about-brand {
        flex-direction: column;
        justify-content: center;
    }

    
    .highlights-grid,
    .process-steps,
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    
    .hero-title {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 28px;
    }
}


@media (max-width: 920px) {
    
    .hero-visual {
        display: none;
    }

    .footer-links h4,
    .footer-contact h4 {
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
        text-align: center;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    .login-desktop {
        display: none;
    }
    
    .login-mobile {
        display: inline-flex;
        justify-content: center;
    }

    .signup-desktop {
        display: none;
    }

    .signup-mobile {
        display: inline-flex;
        justify-content: center;
    }

    .nav-actions {
        gap: 10px;
    }

    body.menu-open .navbar::after,
    html.menu-open .navbar::after {
        background: rgba(8, 20, 15, 0.18);
        backdrop-filter: blur(20px) saturate(0.9);
        -webkit-backdrop-filter: blur(20px) saturate(0.9);
        opacity: 1;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(8, 20, 15, 0.28);
        backdrop-filter: blur(20px) saturate(0.9);
        -webkit-backdrop-filter: blur(20px) saturate(0.9);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-normal);
        z-index: 998;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 86vw);
        height: 100dvh;
        min-height: 100vh;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f6fbf7 100%);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2px;
        padding: 92px 18px 24px;
        border-left: 1px solid rgba(23, 107, 77, 0.12);
        box-shadow: 0 24px 60px rgba(8, 20, 15, 0.22);
        transform: translateX(110%);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        transition: transform var(--transition-normal), opacity var(--transition-normal);
        z-index: 999;
        display: flex;
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at top right, rgba(197, 150, 45, 0.14), transparent 26%),
            linear-gradient(180deg, rgba(23, 107, 77, 0.04) 0%, transparent 100%);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        position: relative;
        display: flex;
        align-items: center;
        height: auto;
        min-height: 0;
        flex: 0 0 auto;
        padding: 13px 14px;
        width: 100%;
        text-align: left;
        border: none;
        border-radius: 14px;
        font-size: 15px;
        font-weight: 600;
        background: transparent;
        box-shadow: none;
        z-index: 1;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-dark);
        background: transparent;
        transform: none;
    }

    .nav-link.active {
        color: var(--white);
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        box-shadow: 0 12px 24px rgba(23, 107, 77, 0.18);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: rgba(23, 107, 77, 0.08);
    }

    .nav-link:last-of-type::after {
        display: none;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        display: none;
    }

    .nav-menu .btn {
        width: 100%;
        padding: 14px;
        border-radius: 18px;
        position: relative;
        z-index: 1;
        box-shadow: 0 16px 32px rgba(15, 79, 57, 0.16);
    }

    .nav-menu .signup-mobile {
        margin-top: 14px;
    }

    .nav-menu .login-mobile {
        margin-top: 8px;
    }

    .nav-link::before,
    .nav-link::after {
        pointer-events: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background-color: var(--primary);
        box-shadow: 0 10px 22px rgba(23, 107, 77, 0.28);
    }

    .hamburger span {
        width: 20px;
        background-color: var(--white);
    }

    .hamburger.active {
        background-color: var(--primary-dark);
    }

    .nav-menu-header {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        margin-bottom: 12px;
        padding: 0 2px 14px;
        border-bottom: 1px solid rgba(23, 107, 77, 0.08);
        position: relative;
        z-index: 1;
    }

    .nav-menu-logo {
        display: block;
        width: 48px;
        height: 48px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .nav-menu-copy {
        display: flex;
        flex-direction: column;
        gap: 2px;
        color: var(--primary-dark);
    }

    .nav-menu-copy strong {
        font-size: 15px;
        line-height: 1.2;
    }

    .nav-menu-eyebrow {
        display: inline-block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--secondary-dark);
    }

    html.menu-open,
    body.menu-open {
        overflow: hidden;
    }

    .highlights-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    
    .hero-section {
        padding: 104px 0 48px;
        min-height: auto !important;
        height: auto !important;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

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

    .hero-title {
        font-size: 28px;
        text-align: center;
    }

    .hero-description {
        font-size: 15px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        gap: 12px;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 4px;
    }

    .dashboard-card {
        width: 100%;
        max-width: 320px;
        padding: 18px;
    }

    .dashboard-card,
    .dashboard-header,
    .dashboard-stats,
    .stat-item {
        text-align: center;
    }

    .dashboard-header {
        justify-content: center;
        margin-bottom: 14px;
        font-size: 14px;
    }

    .dashboard-stats {
        gap: 10px;
    }

    .stat-item {
        padding: 14px 12px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }

    .about-content,
    .highlight-card,
    .service-card,
    .feature-card,
    .step-card,
    .map-placeholder,
    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .highlight-icon,
    .service-icon,
    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .about-brand {
        flex-direction: column;
        justify-content: center;
    }

    
    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 14px;
    }

    
    .container {
        padding: 0 16px;
    }

    
    .highlight-card,
    .service-card,
    .feature-card,
    .step-card {
        padding: 20px;
    }

    
    .process-steps {
        gap: 16px;
    }

    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
}


@media (max-width: 480px) {
    
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
        min-height: 48px; 
    }


    
    .highlights-section,
    .about-section,
    .services-section,
    .features-section,
    .process-section,
    .contact-section {
        padding: 50px 0;
    }

    .contact-section {
        padding: 50px 0 18px;
    }

    
    .highlight-card,
    .service-card,
    .feature-card {
        padding: 20px 16px;
    }

    .map-placeholder {
        padding: 24px 18px 18px;
        border-radius: 22px;
        box-shadow: 0 10px 20px rgba(12, 44, 31, 0.05);
    }

    .map-placeholder div {
        font-size: 24px;
    }

    
    body {
        overflow-x: hidden;
    }

    
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

}

@media (max-width: 767px) {
    .highlights-grid,
    .services-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
}


html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}


.btn,
.nav-link,
.hamburger {
    min-height: 44px;
    min-width: 44px;
}


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


.highlight-card:nth-child(1).fade-in { transition-delay: 0.1s; }
.highlight-card:nth-child(2).fade-in { transition-delay: 0.2s; }
.highlight-card:nth-child(3).fade-in { transition-delay: 0.3s; }
.highlight-card:nth-child(4).fade-in { transition-delay: 0.4s; }

.service-card:nth-child(1).fade-in { transition-delay: 0.1s; }
.service-card:nth-child(2).fade-in { transition-delay: 0.15s; }
.service-card:nth-child(3).fade-in { transition-delay: 0.2s; }
.service-card:nth-child(4).fade-in { transition-delay: 0.25s; }
.service-card:nth-child(5).fade-in { transition-delay: 0.3s; }
.service-card:nth-child(6).fade-in { transition-delay: 0.35s; }

.feature-card:nth-child(1).fade-in { transition-delay: 0.1s; }
.feature-card:nth-child(2).fade-in { transition-delay: 0.2s; }

.step-card:nth-child(1).fade-in { transition-delay: 0.1s; }
.step-card:nth-child(2).fade-in { transition-delay: 0.2s; }
.step-card:nth-child(3).fade-in { transition-delay: 0.3s; }
.step-card:nth-child(4).fade-in { transition-delay: 0.4s; }


.hero-content {
    opacity: 0;
    animation: heroSoftFadeIn 0.6s ease-out forwards;
    animation-delay: 0.12s;
}

.hero-visual {
    opacity: 0;
    animation: heroSoftFadeIn 0.7s ease-out forwards;
    animation-delay: 0.24s;
}

@keyframes heroSoftFadeIn {
    to {
        opacity: 1;
    }
}

.page-header {
    padding: 130px 0 60px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.page-description {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    padding: 120px 0 80px;
    background-color: var(--gray-50);
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
}

.request-page-header {
    text-align: center;
    margin-bottom: 26px;
}

.request-page-header-inside {
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(23, 107, 77, 0.1);
    position: relative;
}

.request-page-header-inside::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 86px;
    height: 3px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary) 0%, rgba(197, 150, 45, 0.78) 100%);
}

.request-page-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background-color: rgba(23, 107, 77, 0.08);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.request-page-header h1 {
    font-size: 36px;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.request-page-header p {
    max-width: 48ch;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
}

.form-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 36px;
    border: 1px solid var(--card-border);
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.optional-text {
    font-weight: 400;
    color: var(--gray-400);
    font-size: 13px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background-color: var(--white);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload-area {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.file-upload-area.has-file {
    border-color: rgba(23, 107, 77, 0.42);
    background: linear-gradient(180deg, rgba(237, 247, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.file-upload-area.has-file .file-upload-inner i {
    color: var(--primary);
}

.file-upload-inner i {
    font-size: 32px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.file-upload-inner p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.file-upload-inner small {
    font-size: 12px;
    color: var(--gray-400);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(23, 107, 77, 0.06);
    border: 1px solid rgba(23, 107, 77, 0.12);
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.5;
}

.file-upload-selected i {
    color: var(--primary);
    flex-shrink: 0;
}

.file-upload-selected.has-file {
    background: linear-gradient(180deg, rgba(237, 247, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(23, 107, 77, 0.18);
    color: var(--gray-900);
}

.form-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 24px;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.info-card-header i {
    color: var(--primary);
    font-size: 20px;
}

.info-card-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
}

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

.info-list li {
    font-size: 14px;
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
}

.info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.status-preview-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 24px;
}

.status-preview-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.status-preview-card p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.status-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.status-low {
    background-color: #D1FAE5;
    color: #065F46;
}

.status-review {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-high {
    background-color: #FEE2E2;
    color: #991B1B;
}

.status-item p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

@media (max-width: 920px) {
    .form-container {
        grid-template-columns: 1fr;
    }

    .form-sidebar {
        order: -1;
    }

    .page-title {
        font-size: 28px;
    }

    .form-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

.dashboard-header {
    padding: 130px 0 40px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
}

.breadcrumb {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.dashboard-stats {
    padding: 40px 0;
    background-color: var(--gray-50);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.stats-grid .stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all var(--transition-fast);
}

.stats-grid .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.stat-pending { background-color: #FEF3C7; color: #D97706; }
.stat-approved { background-color: #D1FAE5; color: #059669; }
.stat-rejected { background-color: #FEE2E2; color: #DC2626; }
.stat-review { background-color: #DBEAFE; color: #2563EB; }

.stat-content .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-content .stat-label {
    font-size: 12px;
    color: var(--gray-500);
}

.filter-bar-section {
    padding: 0 0 32px;
    background-color: var(--gray-50);
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.search-field {
    position: relative;
    flex: 1;
    min-width: 240px;
}

.search-field i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-field .filter-input {
    padding-left: 42px;
}

.filter-input {
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background-color: var(--white);
    min-width: 160px;
    transition: all var(--transition-fast);
}

.filter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.dashboard-main {
    padding: 0 0 80px;
    background-color: var(--gray-50);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}

.panel-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.panel-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.panel-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
}

.table-container {
    overflow-x: auto;
}

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

.request-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    border-bottom: 2px solid var(--gray-200);
}

.request-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.request-table tr:hover td {
    background-color: var(--gray-50);
}

.btn-sm {
    padding: 8px 12px;
    font-size: 12px;
    margin: 2px;
}

.btn-success {
    background-color: #059669;
    color: white;
}

.btn-success:hover {
    background-color: #047857;
}

.btn-danger {
    background-color: #DC2626;
    color: white;
}

.btn-danger:hover {
    background-color: #B91C1C;
}

.request-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
}

.preview-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.preview-value {
    font-size: 14px;
    color: var(--gray-800);
}

.notes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notes-list li {
    font-size: 13px;
    padding-left: 16px;
    position: relative;
    color: var(--gray-600);
}

.notes-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.preview-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.insight-card {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.insight-card:last-child {
    border-bottom: none;
}

.insight-title {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.insight-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.insight-note {
    font-size: 12px;
    color: var(--gray-400);
}

.status-pending {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-approved {
    background-color: #D1FAE5;
    color: #065F46;
}

.status-rejected {
    background-color: #FEE2E2;
    color: #991B1B;
}

.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-right: 1px solid var(--gray-200);
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.04);
    z-index: 100;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 15px;
}

.sidebar-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.sidebar-toggle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
    display: none;
}

.sidebar-toggle:hover {
    background: var(--gray-200);
}

.sidebar-menu {
    flex: 1;
    min-height: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.sidebar-link.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

.sidebar-divider {
    height: 1px;
    background: var(--gray-200);
    margin: auto 0 8px;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, rgba(23, 107, 77, 0.08) 0%, rgba(247, 237, 210, 0.12) 100%);
    border: 1px solid rgba(23, 107, 77, 0.12);
    border-radius: 10px;
    flex: 0 0 auto;
}

.sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(23, 107, 77, 0.24);
}

.sidebar-profile-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 2px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.sidebar-profile-role {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

.sidebar-logout {
    color: #dc2626;
    border: 1px solid #fecaca;
    justify-content: center;
    font-weight: 600;
    margin-top: 8px;
    flex: 0 0 auto;
}

.sidebar-logout:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #f87171;
}

.admin-main {
    margin-left: 260px;
    min-height: 100vh;
    background: var(--gray-50);
}

.admin-header {
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.12), transparent 24%),
        linear-gradient(135deg, #eef6f0 0%, #ffffff 100%);
    padding: 32px;
    border-bottom: 1px solid rgba(23, 107, 77, 0.14);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.admin-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(23, 107, 77, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.header-title h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    position: relative;
    text-align: center;
}

.admin-header-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(23, 107, 77, 0.08);
    border: 1px solid rgba(23, 107, 77, 0.12);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
}

.header-title p {
    font-size: 14px;
    color: #557464;
    max-width: 550px;
    line-height: 1.6;
    position: relative;
    text-align: center;
    margin: 0 auto;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: min(760px, 100%);
    position: relative;
    z-index: 1;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(460px, 100%);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(23, 107, 77, 0.12);
    box-shadow: 0 10px 26px rgba(23, 107, 77, 0.08);
}

.header-search i {
    color: var(--primary);
    font-size: 15px;
    flex-shrink: 0;
}

.header-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    color: var(--gray-800);
}

.header-search input::placeholder {
    color: var(--gray-500);
}

.admin-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(23, 107, 77, 0.12);
    box-shadow: 0 4px 12px rgba(23, 107, 77, 0.06);
}



.admin-content {
    padding: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stats-grid .stat-card {
    background: white;
    padding: 22px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s ease;
    border: 1px solid var(--gray-100);
}

.stats-grid .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--gray-200);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-pending .stat-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-approved .stat-icon { background: linear-gradient(135deg, #10b981, #059669); }
.stat-rejected .stat-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }
.stat-review .stat-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.stat-content .stat-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-content .stat-label {
    font-size: 12px;
    color: var(--gray-500);
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: white;
    font-size: 14px;
    min-width: 160px;
}

.filter-spacer {
    flex: 1;
}

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

.request-preview-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 560px;
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.1), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    border-radius: 22px;
    border: 1px solid rgba(23, 107, 77, 0.14);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
    padding: 30px;
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(23, 107, 77, 0.45) rgba(23, 107, 77, 0.08);
}

.request-preview-modal::-webkit-scrollbar {
    width: 10px;
}

.request-preview-modal::-webkit-scrollbar-track {
    background: rgba(23, 107, 77, 0.08);
    border-radius: 999px;
}

.request-preview-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(23, 107, 77, 0.72) 0%, rgba(15, 79, 57, 0.88) 100%);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.request-preview-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(23, 107, 77, 0.86) 0%, rgba(15, 79, 57, 1) 100%);
}

.request-preview-modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.request-preview-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(23, 107, 77, 0.1);
}

.request-preview-modal .modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.request-preview-modal .modal-close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: none;
    background: rgba(23, 107, 77, 0.08);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.request-preview-modal .modal-close:hover {
    background: rgba(23, 107, 77, 0.14);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 299;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.confirm-dialog {
    max-width: 420px;
}

.confirm-dialog-overlay {
    z-index: 1200;
    background: rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(6px);
}

.confirm-dialog {
    z-index: 1201;
}

.confirm-dialog-body {
    padding: 4px 0 6px;
}

.confirm-dialog-body p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
}

.confirm-dialog-actions {
    justify-content: flex-end;
    margin-top: 20px;
}

.confirm-dialog-actions .btn {
    min-width: 112px;
}

@media (max-width: 768px) {
    .request-page-header-inside {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .request-page-header-inside::after,
    .resident-history-header::after {
        width: 56px;
        height: 2px;
    }

    .request-page-header h1,
    .resident-form-header h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .request-page-header p,
    .resident-form-header p {
        font-size: 14px;
        line-height: 1.6;
    }

    .resident-overview-hero {
        gap: 14px;
        margin-bottom: 18px;
        padding: 18px 18px 16px;
        border-radius: 18px;
    }

    .resident-overview-eyebrow,
    .resident-form-eyebrow {
        margin-bottom: 10px;
        padding: 6px 10px;
        font-size: 10px;
    }

    .resident-overview-copy h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .resident-overview-copy p {
        font-size: 14px;
        line-height: 1.6;
    }

    .resident-history-header {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .requests-list-header h3 {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .requests-list-header span {
        font-size: 13px;
    }

    .resident-form-header {
        margin-bottom: 22px;
        padding-bottom: 16px;
    }

    .confirm-dialog {
        width: min(92vw, 420px);
        padding: 22px;
    }

    .confirm-dialog .modal-header {
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .confirm-dialog .modal-header h3 {
        font-size: 17px;
    }

    .confirm-dialog-body p {
        font-size: 14px;
        line-height: 1.65;
    }

    .confirm-dialog-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .confirm-dialog-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .confirm-dialog {
        width: 92vw;
        padding: 20px;
    }
}

.panel-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 24px;
    border: 1px solid var(--gray-100);
}

.mt-24 { margin-top: 24px; }

.panel-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.panel-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
}

.table-panel {
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.table-panel .panel-header {
    padding: 20px 24px 0;
}

.table-container {
    overflow-x: auto;
    padding: 0 24px 24px;
}

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

.request-table th {
    text-align: left;
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 2px solid var(--gray-200);
}

.request-table td {
    padding: 14px;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

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

.request-table tr:hover td {
    background-color: var(--gray-50);
}

.btn-sm {
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 8px;
    margin: 2px;
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.request-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(23, 107, 77, 0.08);
    box-shadow: 0 10px 24px rgba(9, 34, 24, 0.04);
}

.preview-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.preview-value {
    font-size: 15px;
    color: var(--gray-800);
    line-height: 1.65;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.preview-row-accent {
    border: 1px solid rgba(23, 107, 77, 0.12);
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 248, 0.98) 100%);
}

.preview-row-score {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(23, 107, 77, 0.14);
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(237, 247, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.preview-score-value {
    width: 100%;
}

.preview-score-meter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.preview-score-topline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.preview-score-topline strong {
    color: var(--primary-dark);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.preview-score-topline span {
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 600;
}

.preview-score-bar {
    position: relative;
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(23, 107, 77, 0.12);
    overflow: hidden;
}

.preview-score-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(197, 150, 45, 0.82) 100%);
}

.notes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.notes-list li {
    font-size: 13px;
    padding-left: 14px;
    position: relative;
    color: var(--gray-600);
}

.notes-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.preview-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.insight-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.insight-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 3px;
}

.insight-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.insight-note {
    font-size: 12px;
    color: var(--gray-400);
}

.status-badge {
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-pending {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-approved {
    background-color: #D1FAE5;
    color: #065F46;
}

.status-rejected {
    background-color: #FEE2E2;
    color: #991B1B;
}

.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 200;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
        z-index: 500;
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

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

    .sidebar-overlay.active {
        display: block;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .admin-header {
        padding: 20px;
        padding-top: 70px;
        flex-direction: column;
        align-items: stretch;
    }

    .admin-content {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select {
        width: 100%;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .request-table {
        min-width: 700px;
    }

    .request-table th,
    .request-table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .preview-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .preview-actions {
        flex-direction: column;
    }

    .preview-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .request-preview-modal {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .sidebar-link {
        min-height: 48px;
        padding: 14px;
    }

    .stats-grid .stat-card {
        padding: 18px 16px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-header {
        padding: 16px;
        padding-top: 70px;
    }

    .admin-content {
        padding: 16px;
    }

    .request-preview-modal {
        width: 92%;
        padding: 20px;
    }

    .panel-card {
        padding: 18px;
    }

    .table-panel .panel-header {
        padding: 16px 18px 0;
    }

    .table-container {
        padding: 0 18px 18px;
    }
}

.login-section {
    min-height: calc(100vh - 72px - 60px);
    padding: 110px 0 70px;
    margin-bottom: 0;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
}

.login-section .container {
    width: 100%;
    max-width: 100%;
}

.login-grid {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.login-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.login-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
}

.login-feature i {
    color: var(--primary);
    font-size: 16px;
}

.login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 32px;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

@media (min-width: 481px) {
    .login-section .container {
        max-width: var(--container-width);
    }

    .login-grid {
        max-width: 100%;
    }

    .login-card {
        max-width: 460px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .login-card {
        max-width: 480px;
    }

    .terms-card {
        max-width: 760px;
    }
}

.login-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-card-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.login-card-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 6px;
    transition: color var(--transition-fast);
}

.password-toggle:hover {
    color: var(--primary);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin: 4px 0 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--gray-600);
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.88;
}

.btn.is-loading {
    pointer-events: none;
}

.btn.is-loading .btn-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: currentColor;
    animation: btnSpin 0.8s linear infinite;
}

.btn-secondary.is-loading .btn-spinner {
    border-color: rgba(23, 107, 77, 0.2);
    border-top-color: currentColor;
}

@keyframes btnSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.form-message {
    min-height: 24px;
    margin-top: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.form-message.info {
    color: var(--gray-600);
}

.form-message.success {
    color: var(--primary);
}

.form-message.error {
    color: #dc2626;
}

.login-links {
    text-align: center;
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 8px;
}

.login-links p {
    margin-bottom: 8px;
}

.login-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.login-links a:hover {
    text-decoration: underline;
}

.terms-inline-note {
    margin-top: -4px;
    margin-bottom: -2px;
    font-size: 13px;
}

.terms-card {
    max-width: 760px;
}

.terms-card-header {
    margin-bottom: 28px;
}

.terms-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(11, 95, 45, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.terms-content {
    display: grid;
    gap: 14px;
}

.terms-section-block {
    padding: 18px 20px;
    border: 1px solid rgba(11, 95, 45, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 244, 0.92) 100%);
}

.terms-section-block h3 {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.35;
    color: var(--gray-900);
}

.terms-section-block p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
}

.terms-links {
    margin-top: 22px;
}

.footer-small {
    padding-top: 0;
    border-top: 1px solid var(--gray-200);
}

.footer-small .footer-bottom {
    padding: 18px 0;
}

@media (min-width: 481px) and (max-width: 920px) {
    .login-section {
        padding: 100px 0 70px;
    }

    .login-grid {
        width: 100%;
        max-width: 100%;
    }

    .login-card {
        max-width: 460px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .login-section {
        padding: 90px 0 30px;
    }

    .login-title {
        font-size: 28px;
    }

    .login-card {
        padding: 24px;
        width: 100%;
        max-width: 100%;
    }

    .terms-section-block {
        padding: 16px 16px;
        border-radius: 16px;
    }
}

.requests-page {
    min-height: calc(100vh - 72px - 60px);
    padding: 120px 0 70px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
}

.requests-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.requests-page-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.requests-page-header h1 {
    font-size: 34px;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.requests-page-header p {
    max-width: 48ch;
    color: var(--gray-600);
}

.requests-summary-card,
.requests-list-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--card-border);
}

.requests-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    margin-bottom: 20px;
}

.requests-summary-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.requests-summary-copy strong {
    font-size: 18px;
    color: var(--gray-900);
}

.requests-summary-copy span {
    color: var(--gray-600);
    font-size: 14px;
}

.requests-list-card {
    padding: 26px;
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);
    border: 1px solid rgba(23, 107, 77, 0.16);
    box-shadow: 0 18px 38px rgba(9, 34, 24, 0.07);
}

.requests-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(23, 107, 77, 0.1);
}

.resident-requests-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(23, 107, 77, 0.1);
}

.resident-requests-intro-copy {
    max-width: 56ch;
    text-align: left;
}

.resident-requests-intro-copy h1 {
    font-size: 31px;
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.resident-requests-intro-copy p {
    color: var(--gray-600);
    line-height: 1.66;
}

.resident-requests-intro-meta {
    flex-shrink: 0;
}

.resident-requests-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(23, 107, 77, 0.08);
    border: 1px solid rgba(23, 107, 77, 0.12);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.requests-list-header h3 {
    font-size: 28px;
    color: var(--gray-900);
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.requests-list-header span {
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
}

.requests-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 44px 20px;
    border: 1px dashed rgba(23, 107, 77, 0.18);
    border-radius: 18px;
    text-align: center;
    color: var(--gray-600);
}

.requests-empty-state i {
    font-size: 28px;
    color: var(--primary);
}

.requests-empty-state small {
    color: var(--gray-500);
}

.requests-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.resident-request-card {
    position: relative;
    border: 1px solid rgba(23, 107, 77, 0.14);
    border-radius: 20px;
    padding: 18px;
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    box-shadow: 0 12px 28px rgba(9, 34, 24, 0.06);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    overflow: hidden;
}

.resident-request-card::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 0;
    width: 4px;
    height: 54px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.resident-request-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(9, 34, 24, 0.1);
    border-color: rgba(23, 107, 77, 0.22);
}

.resident-request-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.resident-request-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.resident-request-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(23, 107, 77, 0.18);
}

.resident-request-title-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.resident-request-top h4 {
    font-size: 17px;
    color: var(--gray-900);
    margin-bottom: 0;
}

.resident-request-top p {
    font-size: 13px;
    color: var(--gray-500);
}

.resident-request-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.resident-request-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(23, 107, 77, 0.04);
    border: 1px solid rgba(23, 107, 77, 0.08);
}

.resident-request-meta-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(23, 107, 77, 0.1);
    color: var(--primary);
}

.resident-request-meta-item p {
    color: var(--gray-800);
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.resident-request-meta-file {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.resident-request-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
    color: var(--gray-700);
}

.resident-request-summary-item {
    min-height: 100%;
}

.resident-request-detail-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.resident-request-detail p {
    color: var(--gray-800);
    line-height: 1.58;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.resident-request-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.resident-request-score-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
}

.resident-request-summary-item small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.5;
}

.resident-request-statuses {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.resident-request-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.resident-request-link-hint {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.resident-main {
    min-height: 100vh;
    background: var(--gray-50);
}

.resident-content {
    padding-top: 32px;
}

.resident-overview-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding: 28px 30px;
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.14), transparent 24%),
        linear-gradient(135deg, #eef6f0 0%, #ffffff 100%);
    border: 1px solid rgba(23, 107, 77, 0.16);
    border-radius: var(--radius-xl);
    box-shadow: 0 18px 34px rgba(9, 34, 24, 0.07);
}

.resident-overview-copy h1 {
    font-size: 32px;
    color: var(--gray-900);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.resident-overview-copy p {
    max-width: 56ch;
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
}

.resident-overview-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(23, 107, 77, 0.08);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resident-overview-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
}

.resident-profile-header {
    margin-bottom: 24px;
}

.resident-profile-intro {
    margin-bottom: 22px;
}

.resident-view {
    display: none;
}

.resident-view.resident-view-active {
    display: block;
}

.resident-form-view {
    max-width: 820px;
    margin: 0 auto;
    padding: 8px 0 12px;
}

.resident-form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 0 22px;
}

.resident-form-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(23, 107, 77, 0.08);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resident-form-header > div {
    width: 100%;
}

.resident-form-header h1 {
    text-align: center;
    font-size: 34px;
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.resident-form-header p {
    text-align: center;
    margin: 0 auto;
    max-width: 48ch;
    line-height: 1.7;
}

.resident-submit-intro {
    margin-bottom: 8px;
    text-align: center;
}

.resident-submit-intro-copy {
    max-width: 58ch;
    margin: 0 auto;
}

.resident-form-block-intro {
    display: grid;
    gap: 12px;
    padding: 0 0 18px;
    margin-bottom: 22px;
    background: transparent;
    border: none;
    border-radius: 0 !important;
    box-shadow: none;
    border-bottom: 1px solid rgba(23, 107, 77, 0.1);
    position: relative;
    overflow: hidden;
}

.resident-form-block-intro::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 84px;
    height: 2px;
    border-radius: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.resident-form-block-intro::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary) 0%, rgba(197, 150, 45, 0.78) 100%);
}

.resident-submit-intro h1 {
    font-size: 32px;
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--gray-900);
    position: relative;
    z-index: 1;
}

.resident-submit-intro p {
    margin: 0 auto;
    max-width: 52ch;
    font-size: 15px;
    line-height: 1.68;
    color: var(--gray-600);
    position: relative;
    z-index: 1;
}

.resident-submit-intro-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.resident-submit-intro-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(23, 107, 77, 0.07);
    border: 1px solid rgba(23, 107, 77, 0.12);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
}

.resident-submit-intro-meta i {
    color: var(--primary);
}

.resident-request-form {
    gap: 22px;
}

.resident-request-form .form-group {
    gap: 10px;
    margin-top: 18px;
}

.resident-request-form .form-group:first-of-type {
    margin-top: 0;
}

.resident-request-form .form-label {
    line-height: 1.45;
}

.resident-form-block {
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    border: 1px solid rgba(23, 107, 77, 0.16);
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(9, 34, 24, 0.06);
}

.resident-form-block-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.resident-form-block-step {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 12px 24px rgba(23, 107, 77, 0.22);
}

.resident-form-block-header h3 {
    font-size: 18px;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.resident-form-block-header p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
}

.resident-form-block-upload .file-upload-area {
    background: rgba(23, 107, 77, 0.03);
}

.resident-request-form .form-input {
    border-color: rgba(23, 107, 77, 0.18);
    box-shadow: 0 2px 6px rgba(12, 44, 31, 0.02);
}

.resident-request-form .form-input:focus {
    box-shadow: 0 0 0 3px rgba(23, 107, 77, 0.12);
}

.resident-form-actions-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(23, 107, 77, 0.05);
    border: 1px solid rgba(23, 107, 77, 0.12);
    border-radius: 20px;
}

.resident-form-actions-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resident-form-actions-copy strong {
    color: var(--gray-900);
    font-size: 15px;
}

.resident-form-actions-copy span {
    color: var(--gray-600);
    font-size: 13px;
}

.resident-stats-grid {
    margin-bottom: 24px;
}

.resident-stats-grid .stat-card:first-child .stat-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.resident-dashboard-panels {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

.resident-dashboard-panel {
    position: relative;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    border: 1px solid rgba(23, 107, 77, 0.16);
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(9, 34, 24, 0.06);
    overflow: hidden;
}

.resident-dashboard-panel::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(197, 150, 45, 0.7) 100%);
    opacity: 0.85;
}

.resident-dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(23, 107, 77, 0.1);
}

.resident-dashboard-panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.resident-dashboard-panel-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 12px 22px rgba(23, 107, 77, 0.2);
    flex-shrink: 0;
}

.resident-dashboard-panel-icon i,
.resident-dashboard-note-icon i {
    color: var(--white);
}

.resident-profile-card .resident-dashboard-panel-icon {
    color: var(--white);
}

.resident-dashboard-panel-icon-gold {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 12px 22px rgba(23, 107, 77, 0.2);
}

.resident-dashboard-panel-header h3 {
    font-size: 18px;
    color: var(--gray-900);
}

.resident-dashboard-panel-header span {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 600;
}

.resident-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.resident-summary-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(23, 107, 77, 0.1);
    box-shadow: 0 10px 24px rgba(9, 34, 24, 0.04);
}

.resident-dashboard-panel-summary .resident-summary-item {
    flex-direction: column;
}

.resident-dashboard-panel-summary .resident-profile-detail-icon,
.resident-dashboard-panel-summary .resident-profile-highlight-icon,
.resident-dashboard-panel-summary .resident-dashboard-panel-icon {
    flex-shrink: 0;
}

.resident-dashboard-panel-summary .resident-summary-item strong,
.resident-dashboard-panel-summary .resident-summary-label {
    display: block;
}

.resident-summary-item::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(23, 107, 77, 0.9) 0%, rgba(197, 150, 45, 0.6) 100%);
    opacity: 0.85;
}

.resident-summary-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.resident-summary-item strong {
    display: block;
    color: var(--gray-900);
    line-height: 1.55;
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.resident-profile-detail-icon,
.resident-profile-highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(23, 107, 77, 0.16);
}

.resident-profile-detail-copy,
.resident-profile-highlight-copy {
    min-width: 0;
    flex: 1;
}

.resident-dashboard-note-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.resident-dashboard-note-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(23, 107, 77, 0.08);
    color: var(--gray-700);
}

.resident-dashboard-note-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    flex-shrink: 0;
}

.resident-dashboard-note-list li div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resident-dashboard-note-list li strong {
    color: var(--gray-900);
    font-size: 15px;
}

.resident-dashboard-note-list li span {
    color: var(--gray-600);
    line-height: 1.6;
}

.resident-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.resident-profile-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(197, 150, 45, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(23, 107, 77, 0.08) 0%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(23, 107, 77, 0.12);
}

.resident-profile-banner-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.resident-profile-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.resident-profile-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(23, 107, 77, 0.1);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.resident-profile-badge-soft {
    background: rgba(197, 150, 45, 0.14);
    color: var(--secondary-dark);
}

.resident-profile-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.resident-profile-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(23, 107, 77, 0.08);
    box-shadow: 0 10px 24px rgba(9, 34, 24, 0.04);
    text-align: left;
}

.resident-profile-highlight strong {
    display: block;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.5;
}

.resident-profile-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 22px;
    box-shadow: 0 14px 26px rgba(23, 107, 77, 0.2);
}

.resident-profile-avatar-large {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 28px;
}

.resident-profile-banner-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resident-profile-banner-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(23, 107, 77, 0.08);
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resident-profile-banner-copy strong {
    color: var(--gray-900);
    font-size: 24px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.resident-profile-banner-copy span:last-child {
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.resident-profile-details {
    grid-template-columns: 1fr;
}

.resident-profile-details .resident-summary-label,
.resident-profile-highlights .resident-summary-label {
    margin-bottom: 4px;
}

.resident-profile-side-top {
    margin-bottom: 18px;
}

.resident-profile-status-card {
    padding: 16px 18px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(23, 107, 77, 0.08) 0%, rgba(247, 237, 210, 0.12) 100%);
    border: 1px solid rgba(23, 107, 77, 0.12);
}

.resident-profile-status-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.resident-profile-status-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--gray-900);
    font-size: 18px;
}

.resident-profile-status-card small {
    color: var(--gray-600);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .resident-profile-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resident-profile-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 921px) {
    .resident-profile-banner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 22px;
        padding: 22px 24px;
    }

    .resident-profile-banner-main {
        gap: 18px;
        max-width: min(100%, 560px);
    }

    .resident-profile-banner-copy {
        align-items: flex-start;
        text-align: left;
        min-width: 0;
        flex: 1;
    }

    .resident-profile-badges {
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 8px;
        min-width: 180px;
    }

    .resident-profile-banner-copy strong {
        font-size: 25px;
        line-height: 1.18;
    }

    .resident-profile-banner-copy span:last-child {
        line-height: 1.5;
    }
}

@media (max-width: 920px) {
    .requests-page {
        padding: 108px 0 60px;
    }

    .requests-page-header,
    .requests-summary-card {
        flex-direction: column;
        align-items: stretch;
    }

    .resident-overview-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .resident-form-header {
        flex-direction: column;
        align-items: stretch;
    }

    .resident-form-actions-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .resident-overview-actions {
        width: 100%;
        min-width: 0;
    }

    .resident-dashboard-panels,
    .resident-summary-grid,
    .resident-profile-grid,
    .resident-profile-details {
        grid-template-columns: 1fr;
    }

    .resident-request-body {
        grid-template-columns: 1fr;
    }

    .resident-request-meta-grid,
    .resident-request-body {
        grid-template-columns: 1fr;
    }

    .resident-request-statuses,
    .resident-request-footer {
        justify-content: flex-start;
    }

    .resident-profile-banner {
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .resident-profile-banner-main {
        flex-direction: column;
        justify-content: center;
    }

    .resident-profile-banner-copy {
        align-items: center;
        text-align: center;
    }

    .resident-profile-badges {
        justify-content: center;
    }

    .resident-profile-highlights {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .resident-profile-card {
        padding: 22px;
        background:
            radial-gradient(circle at top right, rgba(197, 150, 45, 0.08), transparent 26%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 252, 250, 0.98) 100%);
        border: 1px solid rgba(23, 107, 77, 0.1);
        box-shadow: 0 16px 30px rgba(9, 34, 24, 0.06);
    }

    .resident-profile-banner {
        margin-bottom: 16px;
        padding: 16px;
    }

    .resident-profile-details {
        gap: 12px;
    }

    .resident-profile-highlight {
        align-items: center;
        padding: 14px 16px;
    }

    .resident-profile-avatar-large {
        width: 60px;
        height: 60px;
        border-radius: 18px;
        font-size: 24px;
    }

    .resident-profile-banner-copy strong {
        font-size: 21px;
    }

    .resident-profile-banner-copy span:last-child {
        font-size: 13px;
    }
}

@media (min-width: 768px) and (max-width: 920px) {
    .resident-profile-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .resident-profile-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resident-profile-highlight {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .requests-page {
        padding: 94px 0 34px;
    }

    .requests-page-header h1 {
        font-size: 28px;
    }

    .requests-list-card,
    .requests-summary-card,
    .resident-request-card {
        padding: 20px;
    }

    .resident-request-top {
        flex-direction: column;
    }

    .resident-summary-item,
    .resident-profile-highlight {
        gap: 10px;
        padding: 13px 14px;
    }

    .resident-profile-card {
        padding: 20px;
        gap: 16px;
    }

    .resident-profile-banner {
        padding: 14px;
        gap: 12px;
    }

    .resident-profile-banner-kicker {
        padding: 5px 9px;
        font-size: 9px;
    }

    .resident-profile-highlights,
    .resident-profile-details {
        gap: 10px;
    }

    .resident-profile-detail-icon,
    .resident-profile-highlight-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .resident-profile-highlight strong,
    .resident-summary-item strong {
        font-size: 15px;
        line-height: 1.45;
    }

    .resident-request-title-wrap {
        width: 100%;
    }

    .resident-form-view {
        max-width: 100%;
    }

    .resident-submit-intro {
        margin-bottom: 4px;
    }

    .resident-submit-intro h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .resident-submit-intro p {
        font-size: 14px;
        line-height: 1.62;
    }

    .resident-form-block-intro {
        padding: 22px 20px;
        gap: 14px;
        margin-bottom: 18px;
        padding-bottom: 18px;
    }

    .resident-submit-intro-meta {
        gap: 8px;
    }

    .resident-submit-intro-meta span {
        font-size: 12px;
        min-height: 34px;
        padding: 7px 12px;
    }

    .resident-form-block {
        padding: 20px;
        border-radius: 18px;
    }

    .resident-form-block-header {
        flex-direction: column;
        gap: 10px;
    }

    .resident-form-block-step {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .resident-form-actions-wrap {
        padding: 16px;
        border-radius: 18px;
    }

    .resident-overview-hero,
    .resident-dashboard-panel {
        padding: 20px;
    }

    .resident-profile-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .resident-dashboard-panel-header {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .request-page-header-inside {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .request-page-header-inside::after,
    .resident-history-header::after {
        width: 56px;
        height: 2px;
    }

    .request-page-header h1,
    .resident-overview-copy h1,
    .resident-form-header h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .request-page-header p,
    .resident-overview-copy p,
    .resident-form-header p {
        font-size: 14px;
        line-height: 1.6;
    }

    .resident-overview-hero {
        gap: 14px;
        margin-bottom: 18px;
        padding: 18px 18px 16px;
        border-radius: 18px;
    }

    .resident-overview-eyebrow,
    .resident-form-eyebrow {
        margin-bottom: 10px;
        padding: 6px 10px;
        font-size: 10px;
    }

    .resident-overview-copy h1,
    .resident-form-header h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .resident-overview-copy p,
    .resident-form-header p {
        font-size: 14px;
        line-height: 1.6;
    }

    .resident-submit-intro {
        margin-bottom: 0;
    }

    .resident-submit-intro h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .resident-submit-intro p {
        font-size: 14px;
        line-height: 1.6;
    }

    .resident-form-block-intro {
        padding: 18px 16px;
        border-radius: 18px;
        gap: 12px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .resident-form-block-intro::after {
        width: 56px;
        height: 2px;
    }

    .resident-submit-intro-meta {
        flex-direction: column;
        align-items: stretch;
    }

    .resident-submit-intro-meta span {
        justify-content: center;
        width: 100%;
    }

    .resident-requests-intro {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .resident-requests-intro {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .resident-requests-intro-copy {
        text-align: center;
    }

    .resident-requests-intro-copy h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .resident-requests-intro-copy p {
        font-size: 14px;
        line-height: 1.6;
    }

    .resident-form-header {
        margin-bottom: 22px;
        padding-bottom: 16px;
    }
}



