/* ==========================================================================
   DIRECT ACCIDENT CLAIMS - PREMIUM STYLESHEET
   $15,000+ Tier Design System
   ========================================================================== */

:root {
    /* Premium Color Palette */
    --primary: #0A192F;       /* Deep Navy */
    --primary-light: #112240; /* Slightly Lighter Navy */
    --secondary: #FFC107;     /* Sharp Yellow */
    --secondary-hover: #FFD54F;
    --accent: #0077B6;        /* Professional Teal/Blue */
    --dark: #0f172a;          /* Charcoal */
    --text: #334155;          /* Slate for reading */
    --text-light: #94a3b8;    
    --light: #F8FAFC;         /* Soft Gray */
    --white: #FFFFFF;
    
    /* Semantic Colors */
    --success: #10b981;
    --error: #ef4444;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing System */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Shadows & Radii */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px -10px rgba(10, 25, 47, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px; /* Zoom out the entire UI (base 16px to 14px) */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-lg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

/* ==========================================================================
   LAYOUT & UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
}

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

.section-dark {
    background-color: var(--primary);
    color: var(--white);
}

.section-dark h1, 
.section-dark h2, 
.section-dark h3, 
.section-dark p {
    color: var(--white);
}

.text-center { text-align: center; }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    background: rgba(10, 25, 47, 0.85); /* Deep Navy Glassmorphism */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--secondary);
}

.logo-icon {
    width: 50px;
    height: auto;
}

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

.nav-menu a {
    font-family: var(--font-body);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--white);
    font-weight: 600;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
}

/* Header Outline Button */
.header .btn-outline {
    border-color: var(--secondary);
    color: var(--secondary);
}

.header .btn-outline:hover {
    background-color: var(--secondary);
    color: var(--primary) !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-3xl) 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
}

/* Background with Ken Burns Effect */
.hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Dark Gradient Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(17, 34, 64, 0.7) 100%);
    z-index: -1;
}

/* hero-section slant handled by clip-path on the section itself */

.hero-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-title span {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto var(--space-xl);
    max-width: 700px;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-badge i {
    color: var(--secondary);
    font-size: 1.25rem;
}

/* ==========================================================================
   PREMIUM FORM COMPONENT & ANIMATIONS
   ========================================================================== */
.form-section {
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Slide under the hero slant */
    padding: calc(var(--space-3xl) + 60px) var(--space-md) var(--space-3xl);
    background-image: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), url('../img/form-bg3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.premium-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

.form-wrapper {
    position: relative;
}

.form-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
    to { transform: rotate(360deg); }
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.form-step.active {
    display: block;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: var(--space-lg);
}

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

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.1);
}

/* Radio Cards (Premium Checkboxes) */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.radio-option {
    position: relative;
    cursor: pointer;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-text {
    display: block;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
    background: var(--white);
}

.radio-option input:checked ~ .radio-text {
    border-color: var(--secondary);
    background: rgba(212, 175, 55, 0.05);
    color: var(--primary);
    font-weight: 600;
}

.radio-option:hover .radio-text {
    border-color: var(--accent);
}

/* Form Buttons */
.form-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.btn-next, .btn-submit {
    flex: 1;
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-next:hover, .btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-prev {
    background: var(--light);
    color: var(--text);
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-prev:hover {
    background: #e2e8f0;
}

/* ==========================================================================
   SERVICES CARDS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid transparent;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: var(--space-xl);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-top-color: var(--secondary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: var(--space-md);
}

.service-card .service-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--primary) !important;
}

.service-card p {
    color: var(--text-light);
}

/* ==========================================================================
   ABOUT & STATS SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.stats-container {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.stat-box {
    border-left: 3px solid var(--secondary);
    padding-left: var(--space-md);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.2);
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    font-family: var(--font-body);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-section {
    position: relative;
    padding: var(--space-3xl) 0;
    background-color: var(--primary);
    color: var(--white);
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

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

.why-choose-section .section-subtitle {
    color: var(--text-light);
}

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

.why-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.why-card {
    background: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(212, 175, 55, 0.3);
}

.why-card .stat-number-large {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.why-card .stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.why-features-grid .why-card {
    text-align: left;
    padding: var(--space-xl);
}

.why-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.why-features-grid .why-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.why-features-grid .why-feature-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .why-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-features-grid {
        grid-template-columns: 1fr;
    }
}

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

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

.faq-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text);
}

.faq-item.active .faq-answer {
    padding: var(--space-md) var(--space-lg);
    max-height: 500px;
    border-top: 1px solid #e2e8f0;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-md);
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.footer-logo span {
    color: var(--secondary);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: var(--space-sm);
    display: inline-block;
}

.legal-container h2 {
    font-size: 1.5rem;
    margin-top: var(--space-xl);
    color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin: 0 auto var(--space-xl);
    }
    
    .trust-badges {
        justify-content: center;
        margin-bottom: var(--space-xl);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .nav-menu {
        display: none; /* Add mobile menu logic later if needed */
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .stats-container {
        flex-direction: column;
    }
}

/* ==========================================================================
   ALERTS
   ========================================================================== */
#formAlerts {
    margin-bottom: var(--space-lg);
}

.form-alert {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    animation: slideInDown 0.3s ease;
    border-left: 3px solid;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: var(--success-light);
    border-left-color: var(--success);
}

.alert-error {
    background: var(--error-light);
    border-left-color: var(--error);
}

.alert-warning {
    background: var(--warning-light);
    border-left-color: var(--warning);
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-success .alert-icon {
    color: var(--success);
}

.alert-error .alert-icon {
    color: var(--error);
}

.alert-warning .alert-icon {
    color: var(--warning);
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
    font-size: 0.875rem;
}

.alert-message {
    font-size: 0.75rem;
    color: var(--dark);
    line-height: 1.4;
}

/* ==========================================================================
   MODAL (SUCCESS MESSAGE)
   ========================================================================== */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-premium);
    position: relative;
    animation: slideUp 0.4s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--error);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto var(--space-lg);
}

.modal-title {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.modal-message {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.modal-actions {
    display: flex;
    justify-content: center;
}
