/* Hail Roof Claim Check - Marketing Site Styles */

:root {
    /* Brand Colors - Navy & Green */
    --navy-primary: #1e3a5f;
    --navy-dark: #152a45;
    --green-accent: #4ade80;
    --green-dark: #22c55e;

    /* UI Colors */
    --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;

    /* Accent Colors */
    --blue-light: #e0f2fe;
    --blue-100: #bae6fd;
    --red-light: #fee2e2;
    --yellow-light: #fef3c7;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Typography - Inter/Roboto style */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Add padding to account for fixed header */
main {
    padding-top: 90px;
}

/* ====================
   STICKY HEADER
   ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

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

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo-img {
    width: 40px;
    height: 40px;
    background: var(--gray-200);
    border-radius: 8px;
    object-fit: cover;
}

.header-wordmark {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-primary);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-link {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

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

/* ====================
   BUTTONS
   ==================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

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

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

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

.btn-navy:hover {
    background-color: var(--navy-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ====================
   HERO SECTION
   ==================== */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    padding: 80px 24px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy-primary);
}

.hero-headline {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-primary);
}

.hero-subhead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--gray-600);
}

/* Form Card */
.form-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
}

.form-card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-sans);
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

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

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 20px 0;
}

.consent-group input[type="checkbox"] {
    margin-top: 2px;
    width: auto;
}

.consent-group label {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
    font-weight: 400;
}

.form-reassurance {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 12px;
}

/* Hero Image with People */
.hero-image-wrapper {
    position: relative;
    height: 500px;
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark overlay for hero photo */
.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    border-radius: 12px;
}

.hero-stats-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.hero-stats-card p {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--gray-600);
}

.hero-stats-card p:first-child {
    font-weight: 600;
    font-size: 18px;
    color: var(--navy-primary);
}

/* ====================
   SECTIONS
   ==================== */
.section {
    padding: 80px 24px;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ====================
   TRUST STRIP
   ==================== */
.trust-strip {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 40px 24px;
}

.trust-intro {
    text-align: center;
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-single {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.trust-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--blue-light);
}

.trust-text-large {
    font-size: 16px;
    color: var(--gray-700);
    font-weight: 500;
}

/* ====================
   HOW IT WORKS STEPS
   ==================== */
.steps-section {
    background: var(--gray-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.step-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.step-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.step-content {
    padding: 24px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 12px;
}

.step-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.steps-note {
    background: var(--white);
    border-left: 4px solid var(--green-accent);
    padding: 20px 24px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--gray-700);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ====================
   WHY CHECK SECTION
   ==================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 24px;
}

.why-bullets {
    list-style: none;
    margin-bottom: 24px;
}

.why-bullets li {
    padding-left: 32px;
    margin-bottom: 16px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
}

.why-bullets li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-accent);
    font-weight: 700;
    font-size: 20px;
}

.why-highlight {
    background: var(--yellow-light);
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.6;
}

.why-image-wrapper {
    position: relative;
}

.why-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-caption {
    margin-top: 12px;
    font-size: 13px;
    color: var(--gray-600);
    text-align: center;
    font-style: italic;
}

/* ====================
   RESULT PREVIEW
   ==================== */
.preview-section {
    background: var(--gray-50);
}

.preview-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.preview-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 24px;
}

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

.preview-outcome {
    padding: 16px 20px;
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--gray-300);
}

.preview-outcome.high {
    border-left-color: #ef4444;
}

.preview-outcome.medium {
    border-left-color: #f59e0b;
}

.preview-outcome.low {
    border-left-color: var(--blue-100);
}

.preview-outcome strong {
    color: var(--navy-primary);
}

/* ====================
   FAQ SECTION
   ==================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 600;
    color: var(--navy-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    color: var(--gray-400);
    transition: transform 0.2s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer-with-photo {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.faq-person-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ====================
   FINAL CTA
   ==================== */
.final-cta {
    background: var(--navy-primary);
    color: var(--white);
    padding: 80px 24px;
}

.cta-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.cta-legal {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 12px;
    line-height: 1.6;
}

/* ====================
   FOOTER
   ==================== */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 40px 24px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    text-align: right;
    font-size: 13px;
    opacity: 0.7;
}

/* ====================
   BADGES & LABELS
   ==================== */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-high { background: #ef4444; color: white; }
.badge-medium { background: #f59e0b; color: white; }
.badge-low { background: var(--blue-100); color: var(--navy-primary); }

/* ====================
   RESPONSIVE
   ==================== */
@media (max-width: 1024px) {
    .hero-container,
    .why-grid,
    .cta-grid,
    .preview-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-image-wrapper {
        order: 2;
    }

    .hero-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .header-nav {
        gap: 12px;
    }

    .header-link {
        display: none;
    }

    .header-wordmark {
        font-size: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero {
        padding: 40px 16px;
        min-height: auto;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-subhead {
        font-size: 16px;
    }

    .section {
        padding: 60px 16px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

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

    .trust-single {
        flex-direction: column;
        text-align: center;
    }

    .faq-answer-with-photo {
        flex-direction: column;
    }
}

/* ====================
   UTILITY CLASSES
   ==================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 90px;
}

/* ====================
   ADMIN LAYOUT
   ==================== */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--navy-primary);
    margin: 0;
}

/* ====================
   KPI CARDS
   ==================== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.1);
}

.kpi-card-neutral {
    background: #ecf0f1;
}

.kpi-card-info {
    background: #d1ecf1;
}

.kpi-card-success {
    background: #d4edda;
}

.kpi-card-danger {
    background: #f8d7da;
}

.kpi-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 4px;
}

.kpi-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

/* ====================
   FILTERS CARD
   ==================== */
.filters-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

/* ====================
   DATA TABLE
   ==================== */
.table-container {
    overflow-x: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.data-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--navy-primary);
    font-size: 14px;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f3f5;
    color: #2c3e50;
}

.data-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.data-table tbody tr.clickable-row {
    cursor: pointer;
    transition: background 0.15s ease;
}

.data-table tbody tr.clickable-row:hover {
    background: #e9ecef !important;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.table-footer-text {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-top: 16px;
}

/* ====================
   BADGES
   ==================== */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-danger {
    background: #dc3545;
    color: white;
}

.badge-warning {
    background: #ffc107;
    color: #856404;
}

.badge-success {
    background: #28a745;
    color: white;
}

.badge-info {
    background: #17a2b8;
    color: white;
}

.badge-secondary {
    background: #6c757d;
    color: white;
}

.badge-neutral {
    background: #e9ecef;
    color: #495057;
}

.badge-outline-danger {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
}

/* ====================
   BUTTONS & LINKS
   ==================== */
.btn-link {
    color: var(--green-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

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

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* ====================
   RESPONSIVE
   ==================== */
@media (max-width: 768px) {
    .admin-container {
        padding: 16px;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        width: 100%;
    }
    
    .filter-buttons .btn {
        flex: 1;
    }
    
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ====================
   LEAD DETAIL PAGE
   ==================== */
.detail-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.detail-col {
    min-width: 0;
}

.info-section {
    margin-bottom: 24px;
}

.info-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 12px;
}

.info-list {
    margin: 0;
}

.info-list dt {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 4px;
}

.info-list dd {
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 12px;
    margin-left: 0;
}

.summary-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 100px;
}

.summary-block h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-top: 0;
    margin-bottom: 16px;
}

.summary-item {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid #e9ecef;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 20px;
}

.form-help {
    display: block;
    margin-top: 6px;
    color: #6c757d;
    font-size: 13px;
}

.text-muted {
    color: #6c757d;
}

.text-sm {
    font-size: 13px;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .summary-block {
        position: static;
    }

    .detail-card {
        padding: 20px;
    }
}

/* ============================================
   PUBLIC RESULT PAGE STYLES
   ============================================ */

.result-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 24px;
}

.result-success {
    background: white;
    border-radius: 12px;
    padding: 48px 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.result-success h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 16px;
}

.confirmation-text {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 32px;
}

.next-steps {
    background: #f9fafb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.next-steps h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 16px;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #374151;
    line-height: 1.5;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

.steps-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
    font-size: 18px;
}

.hail-info {
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    text-align: left;
}

.hail-info.high-risk {
    background: #fee2e2;
    border-left: 4px solid #dc2626;
}

.hail-info.medium-risk {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
}

.hail-info.low-risk {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
}

.hail-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 8px;
}

.hail-info p {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.info-block {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    text-align: left;
}

.info-block h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 12px;
}

.info-block p {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.info-block a {
    color: #4ade80;
    text-decoration: none;
}

.info-block a:hover {
    text-decoration: underline;
}

.contact-block {
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
    margin-top: 24px;
    margin-bottom: 32px;
}

.contact-block p {
    font-size: 15px;
    color: #374151;
    margin: 0;
}

.phone-link {
    color: #4ade80;
    text-decoration: none;
    font-weight: 600;
}

.phone-link:hover {
    color: #22c55e;
    text-decoration: underline;
}

.result-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #1e3a5f;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .result-container {
        padding: 24px 16px;
    }

    .result-success {
        padding: 32px 20px;
    }

    .result-success h1 {
        font-size: 26px;
    }

    .confirmation-text {
        font-size: 16px;
    }
}

/* ============================================
   FORM VALIDATION STYLES
   ============================================ */

/* Error state for form fields */
input.error,
textarea.error,
select.error {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
}

input.error:focus,
textarea.error:focus,
select.error:focus {
    outline-color: #ef4444;
    border-color: #ef4444;
}

/* Error message styling */
.field-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

/* Success state (optional) */
input.success,
textarea.success,
select.success {
    border-color: #22c55e;
}

/* Checkbox error state */
input[type="checkbox"].error {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}
