/* ============================================
   SettlementRadar — Global Styles
   ============================================ */

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

:root {
    --green-deep: #0a2a1b;
    --green-dark: #0d3520;
    --green-mid: #134d2e;
    --green-accent: #22c55e;
    --green-light: #86efac;
    --gold: #fbbf24;
    --gold-dim: rgba(251, 191, 36, 0.15);
    --cream: #fef9ef;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --red-500: #ef4444;
    --red-100: #fee2e2;
    --orange-500: #f97316;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--white);
    background: var(--green-deep);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

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

/* ============================================
   Navigation
   ============================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 42, 27, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
}

.nav-logo:hover { color: var(--green-light); }

.radar-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--green-accent);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.radar-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green-accent);
    border-radius: 50%;
}

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

.nav-link {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

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

.nav-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-accent);
    background: rgba(34, 197, 94, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ============================================
   Hero (Compact for directory)
   ============================================ */

.hero-compact {
    padding: 6.5rem 2rem 2rem;
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-compact h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    max-width: 700px;
}

.hero-sub strong { color: var(--green-light); }

.urgent-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: 100px;
    margin-left: 0.3rem;
}

/* ============================================
   Filters
   ============================================ */

.filters-section {
    padding: 1.5rem 2rem;
    background: var(--green-dark);
    border-bottom: 1px solid rgba(34, 197, 94, 0.08);
    position: sticky;
    top: 56px;
    z-index: 50;
}

.filters-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.filters-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-box {
    position: relative;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.65rem 0.85rem 0.65rem 2.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.search-input::placeholder { color: var(--gray-400); }
.search-input:focus { border-color: var(--green-accent); }

.filter-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.filter-select option { background: var(--green-deep); }

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
}

.filter-checkbox input { accent-color: var(--green-accent); cursor: pointer; }

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: var(--green-accent);
    color: var(--green-deep);
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
}

.filter-btn:hover { opacity: 0.9; }

/* ============================================
   Content Layout (Grid + Sidebar)
   ============================================ */

.settlements-section, .detail-body {
    padding: 2rem;
}

.content-with-sidebar {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

/* ============================================
   Settlement Cards
   ============================================ */

.settlements-grid {
    display: grid;
    gap: 1rem;
}

.settlement-card {
    display: block;
    padding: 1.5rem;
    background: rgba(19, 77, 46, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.08);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, transform 0.15s;
}

.settlement-card:hover {
    border-color: rgba(34, 197, 94, 0.25);
    transform: translateY(-1px);
}

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

.card-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-accent);
    background: rgba(34, 197, 94, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.card-deadline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-light);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.1);
}

.card-deadline.warning {
    color: var(--gold);
    background: var(--gold-dim);
}

.card-deadline.urgent {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.15);
}

.card-deadline.expired {
    color: var(--gray-400);
    background: rgba(255,255,255,0.05);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 0.2rem;
}

.card-company {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}

.card-summary {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payout-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-accent);
    display: block;
}

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

.no-proof-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255,255,255,0.5);
}

.empty-state h3 { margin-bottom: 0.5rem; color: var(--white); }
.empty-state a { color: var(--green-accent); text-decoration: underline; }

/* ============================================
   Sidebar
   ============================================ */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 130px;
}

.sidebar-card {
    padding: 1.25rem;
    background: rgba(19, 77, 46, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.08);
    border-radius: var(--radius);
}

.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sidebar-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.sidebar-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.sidebar-cta {
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.06);
}

.sidebar-price {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-accent);
    margin-top: 0.5rem;
}

.sidebar-btn {
    display: block;
    text-align: center;
    padding: 0.65rem;
    background: var(--green-accent);
    color: var(--green-deep);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    transition: opacity 0.2s;
}

.sidebar-btn:hover { opacity: 0.9; }

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sidebar-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    color: rgba(255,255,255,0.7);
    transition: border-color 0.2s;
}

.sidebar-tag:hover { border-color: var(--green-accent); color: var(--green-light); }

.sidebar-steps {
    list-style: decimal;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.sidebar-steps li { margin-bottom: 0.3rem; }

.sidebar-small {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.4) !important;
    margin-bottom: 0.75rem;
}

/* Affiliate Links */
.sidebar-affiliate {
    border-color: rgba(251, 191, 36, 0.12);
    background: rgba(251, 191, 36, 0.03);
}

.affiliate-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.affiliate-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.affiliate-link:hover { border-color: rgba(251, 191, 36, 0.2); }

.aff-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.affiliate-link strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
}

.affiliate-link span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
}

/* Related settlements */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-item {
    display: block;
    padding: 0.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    transition: background 0.2s;
}

.related-item:hover { background: rgba(255,255,255,0.06); }

.related-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.related-item span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   Settlement Detail Page
   ============================================ */

.detail-hero {
    padding: 6rem 2rem 2rem;
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
}

.detail-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.breadcrumb {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--green-accent);
    margin-bottom: 1.5rem;
    transition: opacity 0.2s;
}

.breadcrumb:hover { opacity: 0.8; }

.detail-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.4rem;
}

.detail-company {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}

.detail-summary {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 700px;
    line-height: 1.6;
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 2rem;
}

.detail-stat {
    padding: 1.25rem;
    background: rgba(10, 42, 27, 0.9);
    text-align: center;
}

.detail-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: 0.4rem;
}

.detail-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-accent);
}

.detail-stat-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.25rem;
}

.detail-stat-sub.good { color: var(--green-light); }

.countdown { color: var(--gold); font-weight: 500; }

/* Detail Content */
.detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 0.75rem;
}

.eligibility-box, .proof-box {
    padding: 1.25rem;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: var(--radius);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

.proof-box {
    background: rgba(251, 191, 36, 0.05);
    border-color: rgba(251, 191, 36, 0.12);
}

.details-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

.details-text p { margin-bottom: 1rem; }

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

.case-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.case-table td {
    padding: 0.65rem 0;
    font-size: 0.9rem;
}

.case-table td:first-child {
    color: rgba(255,255,255,0.5);
    width: 200px;
    font-weight: 500;
}

.status-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--green-accent);
}

/* CTA Box */
.cta-box {
    padding: 2rem;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cta-box p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.25rem;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.expired-cta {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}

.expired-cta a { color: var(--green-accent); text-decoration: underline; }

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    border: none;
}

.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }

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

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-outline {
    background: transparent;
    color: var(--green-accent);
    border: 1px solid var(--green-accent);
}

.btn-full { width: 100%; }

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

/* ============================================
   File Claim Page
   ============================================ */

.file-hero {
    padding: 6rem 2rem 2rem;
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
}

.file-inner, .file-body {
    max-width: 1100px;
    margin: 0 auto;
}

.file-body { padding: 2rem; }

.file-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.3rem;
    margin-top: 0.75rem;
}

.file-settlement-name {
    font-size: 1rem;
    color: var(--green-light);
    margin-bottom: 0.15rem;
}

.file-company {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.file-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

.file-main { width: 100%; }
.file-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 80px;
}

/* Filing Steps */
.file-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.file-step {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.03);
}

.step-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.08);
    color: var(--gray-400);
    flex-shrink: 0;
}

.step-header h2 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-400);
}

.file-step .step-content {
    display: none;
    padding: 1.25rem;
}

.file-step.active .step-header {
    background: rgba(34, 197, 94, 0.08);
}

.file-step.active .step-number {
    background: var(--green-accent);
    color: var(--green-deep);
}

.file-step.active .step-header h2 { color: var(--white); }

.file-step.active .step-content { display: block; }

.file-step.completed .step-number {
    background: var(--green-accent);
    color: var(--green-deep);
}

.file-step.completed .step-header h2 { color: rgba(255,255,255,0.5); }

/* Eligibility check */
.eligibility-check-box {
    padding: 1rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.eligibility-check-box strong { color: var(--white); }

.confirm-eligible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: rgba(255,255,255,0.8);
}

.checkbox-label input { accent-color: var(--green-accent); cursor: pointer; }

/* Requirements list */
.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.req-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

.req-icon { font-size: 1.2rem; flex-shrink: 0; }

.req-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.req-item p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.req-important { border: 1px solid rgba(251, 191, 36, 0.15); }
.req-easy { border: 1px solid rgba(34, 197, 94, 0.15); background: rgba(34, 197, 94, 0.05); }

/* Filing options */
.filing-options {
    display: grid;
    gap: 1.25rem;
}

.filing-option {
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    position: relative;
}

.filing-option.featured {
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.04);
}

.option-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--green-accent);
    color: var(--green-deep);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
}

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

.option-header h3 { font-size: 1.05rem; font-weight: 600; }

.option-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-accent);
}

.filing-option > p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
}

.option-details {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.option-details li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.option-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-accent);
    font-weight: 600;
}

/* Form */
.assistance-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: rgba(255,255,255,0.7);
}

.form-group input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
}

.form-group input::placeholder { color: var(--gray-400); }
.form-group input:focus { border-color: var(--green-accent); }

.form-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* Success message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon { font-size: 3rem; margin-bottom: 1rem; }

.success-message h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.success-message p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.success-message .btn { margin-top: 1.5rem; }

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-expired {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert a { color: var(--green-accent); text-decoration: underline; }

/* Summary sidebar */
.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

.summary-label { color: rgba(255,255,255,0.5); }
.summary-value { font-weight: 600; color: var(--white); }
.summary-value.urgent { color: #fca5a5; }

/* ============================================
   Error Page
   ============================================ */

.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

.error-inner { text-align: center; }
.error-icon { font-size: 3rem; margin-bottom: 1rem; }

.error-inner h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.error-inner p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
}

/* ============================================
   Footer
   ============================================ */

footer {
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(34, 197, 94, 0.08);
    background: var(--green-deep);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.radar-icon-sm {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--green-accent);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-icon-sm::after {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--green-accent);
    border-radius: 50%;
}

.footer-tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--green-accent); }

.footer-legal {
    width: 100%;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 0.5rem;
}

.footer-legal p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
    .content-with-sidebar, .file-grid {
        grid-template-columns: 1fr;
    }

    .sidebar, .file-sidebar {
        position: static;
    }

    .detail-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    nav { padding: 0.85rem 1rem; }
    .nav-right { gap: 0.75rem; }
    .nav-link { display: none; }

    .hero-compact { padding: 5.5rem 1.25rem 1.5rem; }
    .filters-section { padding: 1rem 1.25rem; }
    .filter-row { flex-direction: column; align-items: stretch; }
    .filter-select { width: 100%; }

    .settlements-section, .detail-body, .file-body { padding: 1.25rem; }

    .detail-hero, .file-hero { padding: 5rem 1.25rem 1.5rem; }

    .confirm-eligible { flex-direction: column; align-items: stretch; }

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

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
