/* -------------------------------------------------------------
   EasyWeb (ПростойСайт.бел) — Premium Business-friendly Stylesheet
   Focus: Simplicity, Trust, High conversion, Clean Typography
   ------------------------------------------------------------- */

/* ==========================================
   1. Colors & Token Design System
   ========================================== */
:root {
    --color-primary: #1e3a8a;       /* Deep trust blue */
    --color-primary-hover: #1e40af;
    --color-accent: #10b981;        /* Profit emerald green */
    --color-accent-hover: #059669;
    --color-orange: #f97316;        /* Warm call-to-action orange */
    --color-orange-glow: rgba(249, 115, 22, 0.25);
    
    --text-dark: #1f2937;           /* Off-black for premium contrast */
    --text-gray: #4b5563;           /* Friendly body gray */
    --text-light: #9ca3af;
    
    --bg-light: #f3f4f6;            /* Soft background gray */
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); /* Friendly light-blue gradient */
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 25px rgba(30, 58, 138, 0.06);
    --shadow-medium: 0 20px 40px rgba(30, 58, 138, 0.12);
}

/* ==========================================
   2. Reset & Core Base Styles
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Headings */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
}

/* Global Grid Utilities */
.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

@media (max-width: 900px) {
    .grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-2-cols, .grid-4-cols {
        grid-template-columns: 1fr;
    }
}

/* Global Background colors */
.bg-light {
    background-color: var(--bg-light);
}

/* Section Title elements */
.section-title-area {
    margin-bottom: 50px;
}

.section-title-area.centered {
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag-small {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-orange);
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    line-height: 1.3;
}

.section-subtitle {
    margin-top: 14px;
    color: var(--text-gray);
    font-size: 17px;
}

/* ==========================================
   3. Buttons & CTA Elements
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--bg-white);
    box-shadow: 0 8px 20px var(--color-orange-glow);
}

.btn-primary:hover {
    background-color: #ea580c; /* Darker orange */
    transform: translateY(-2px);
    box-shadow: 0 12px 24px var(--color-orange-glow);
}

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

.btn-header {
    background-color: rgba(30, 58, 138, 0.06);
    color: var(--color-primary);
    padding: 10px 20px;
    font-size: 13px;
}

.btn-header:hover {
    background-color: var(--color-primary);
    color: var(--bg-white);
}

/* ==========================================
   4. Header & Navigation
   ========================================== */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.text-accent {
    color: var(--color-orange);
}

.logo-icon {
    font-size: 24px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
    transform: translateY(-2px) rotate(15deg) scale(1.15);
}

.nav-menu {
    display: flex;
    gap: 24px;
}

@media (max-width: 950px) {
    .nav-menu {
        display: none; /* Hide link menu on tablet/mobile */
    }
}

.nav-item {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-gray);
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
    color: var(--color-primary);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-primary);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.phone-link:hover {
    color: var(--color-orange);
    transform: translateY(-1px);
}

/* ==========================================
   5. Hero Section (First Screen)
   ========================================== */
.hero-section {
    background: var(--bg-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

.hero-tag {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--color-accent-hover);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.5;
}

.price-badge {
    color: var(--color-orange);
    font-weight: 800;
    border-bottom: 3px double var(--color-orange);
    font-size: 20px;
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .hero-bullets {
        align-items: center;
    }
}

.bullet-item {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
}

.hero-cta-area {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta-note {
    font-size: 14px;
    color: var(--text-gray);
}

.cta-note a {
    color: var(--color-primary);
}

/* Hero image style */
.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.hero-main-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--color-primary) linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

/* ==========================================
   6. Who Section & Service cards
   ========================================== */
.who-section {
    padding: 80px 0;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(30, 58, 138, 0.1);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.service-card-title {
    font-size: 17px;
    margin-bottom: 10px;
}

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

/* ==========================================
   7. Types Section (What we build)
   ========================================== */
.types-section {
    padding: 80px 0;
}

.type-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.type-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.type-icon-badge {
    background-color: rgba(30, 58, 138, 0.05);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    color: var(--color-primary);
}

.type-content {
    display: flex;
    flex-direction: column;
}

.type-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.type-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ==========================================
   8. Interactive ROI Calculator
   ========================================== */
.calculator-section {
    padding: 80px 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}

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

.calc-desc {
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 14px;
    margin-bottom: 30px;
}

.calc-trust-badge {
    display: flex;
    gap: 16px;
    background-color: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    font-size: 14px;
}

.trust-icon {
    font-size: 24px;
    color: var(--color-accent);
}

/* Calculator Widget Card */
.calculator-widget-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-large);
    padding: 36px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.widget-title {
    font-size: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 12px;
}

.range-group {
    margin-bottom: 24px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.range-label-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

.range-val-display {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-primary);
    background-color: rgba(30, 58, 138, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
}

/* Customize Range Slider Input */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-orange);
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-orange-glow);
    transition: var(--transition);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Results display grid */
.calc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.result-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-number {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
}

.result-number.text-accent {
    color: var(--color-accent);
}

.result-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.border-left {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

/* ==========================================
   9. Process steps (3 Simple Steps)
   ========================================== */
.process-section {
    padding: 80px 0;
}

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

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

.step-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.step-num-badge {
    background-color: var(--color-primary);
    color: var(--bg-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.2);
}

.step-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.step-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ==========================================
   10. FAQ Section (Accordion Dropdowns)
   ========================================== */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.faq-question {
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-arrow {
    font-size: 11px;
    color: var(--text-light);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    border-top: 1px solid transparent;
}

.faq-answer p {
    padding: 20px 0;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Active accordion styles (toggled in JS) */
.faq-item.active {
    border-color: rgba(30, 58, 138, 0.15);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--color-orange);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Big enough value to show text, handles smoothly */
    border-top-color: rgba(0, 0, 0, 0.05);
}

/* ==========================================
   11. Lead Capture Form (Contact)
   ========================================= */
.lead-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%); /* Deep gradient background */
    color: var(--bg-white);
}

.lead-form-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

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

.lead-title {
    color: var(--bg-white);
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 20px;
}

.lead-desc {
    color: #93c5fd; /* Soft blue text */
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.lead-perks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.perk-item {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-accent);
}

/* Form Card */
.lead-form-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-large);
    padding: 36px;
    box-shadow: var(--shadow-medium);
    color: var(--text-dark);
}

.form-title {
    font-size: 20px;
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-gray);
}

.form-group input {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 10px var(--color-orange-glow);
}

.btn-submit-lead {
    width: 100%;
    margin-top: 14px;
    padding: 16px;
}

.form-message {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    border-radius: var(--border-radius);
    margin-top: 16px;
    text-align: center;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--color-accent);
    color: var(--color-accent-hover);
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid #ef4444;
    color: #b91c1c;
}

/* ==========================================
   12. Footer
   ========================================== */
.footer {
    background-color: #0b0f19;
    color: var(--text-gray);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

@media (max-width: 600px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--bg-white);
    margin-bottom: 12px;
}

.footer-copy-text {
    max-width: 450px;
    line-height: 1.5;
}

.footer-contact-info {
    text-align: right;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .footer-contact-info {
        text-align: center;
    }
}

.footer-contact-info strong {
    color: var(--bg-white);
}

.footer-contact-info a {
    color: #3b82f6;
}

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

/* ==========================================
   13. Responsive Mobile Fixes & Optimizations
   ========================================== */

/* General Layout Guard against any overflow */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Base Button optimizations for small viewports */
.btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    /* 1. Header Optimization: Hide CTA button on mobile, keep logo and phone on one line */
    .btn-header {
        display: none !important;
    }
    
    .header-contact {
        gap: 0;
    }
    
    /* 2. Hero buttons and texts */
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-bullets {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    /* 1. Container Padding - tighter margins for small screens to give more room for text */
    .container {
        padding: 0 16px;
    }
    
    .header-container {
        padding: 12px 16px;
    }
    
    /* 2. Header elements fine-tuning to prevent any wrapping or overflow */
    .logo {
        font-size: 16px;
    }
    
    .logo-icon {
        font-size: 18px;
    }
    
    .phone-link {
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* 3. Hero content */
    .hero-title {
        font-size: 24px;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .price-badge {
        font-size: 17px;
    }
    
    .bullet-item {
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    /* 4. Interactive Calculator & Forms Padding Optimization */
    .calculator-widget-card,
    .lead-form-card {
        padding: 20px 16px;
    }
    
    .widget-title {
        font-size: 18px;
        margin-bottom: 18px;
    }
    
    /* Stack results vertically so numbers and labels have full width */
    .calc-results {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    .border-left {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 16px;
    }
    
    .result-number {
        font-size: 22px;
    }
    
    /* 5. Forms controls */
    .form-group input {
        padding: 12px;
        font-size: 14px;
    }
}

/* ==========================================
   14. New Call-to-Action (CTA) Styles
   ========================================== */

/* Section CTA containers */
.section-cta-container {
    text-align: center;
    margin-top: 40px;
}

.btn-cta {
    padding: 16px 32px;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
}

.btn-calc-cta {
    width: 100%;
    margin-top: 24px;
    padding: 16px;
    font-size: 15px;
    background-color: var(--color-accent);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.btn-calc-cta:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.25);
}

/* FAQ CTA Banner */
.faq-cta-box {
    margin-top: 40px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px dashed rgba(30, 58, 138, 0.15);
}

@media (max-width: 768px) {
    .faq-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }
}

.faq-cta-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-primary);
    line-height: 1.4;
}

.btn-faq-cta {
    background-color: var(--bg-white);
    color: var(--color-primary);
    border: 1px solid rgba(30, 58, 138, 0.15);
    padding: 12px 24px;
    font-size: 14px;
    white-space: nowrap;
}

.btn-faq-cta:hover {
    background-color: var(--color-primary);
    color: var(--bg-white);
    border-color: var(--color-primary);
}

/* ==========================================
   15. Custom Premium Flatpickr Theme & Input Styling
   ========================================== */

#user-time {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234b5563' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 44px; /* Space for the icon */
    cursor: pointer;
    background-color: var(--bg-white);
}

/* Flatpickr Calendar Container */
.flatpickr-calendar {
    font-family: var(--font-body);
    background-color: var(--bg-white) !important;
    border: 1px solid rgba(30, 58, 138, 0.12) !important;
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.15) !important;
    border-radius: var(--border-radius) !important;
    padding: 8px !important;
}

/* Month & Year Selection Header */
.flatpickr-months {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    padding: 8px !important;
    color: var(--color-primary) !important;
    fill: var(--color-primary) !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    color: var(--color-orange) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--color-orange) !important;
}

.flatpickr-current-month {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    font-size: 105% !important;
}

/* Year Input */
.flatpickr-current-month input.cur-year {
    font-weight: 700 !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp::after {
    border-bottom-color: var(--color-primary) !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown::after {
    border-top-color: var(--color-primary) !important;
}

/* Weekday Labels (Mon, Tue, etc.) */
span.flatpickr-weekday {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: var(--text-gray) !important;
    font-size: 13px !important;
}

/* Days Grid */
.flatpickr-days {
    border: none !important;
}

.flatpickr-day {
    border-radius: 8px !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    transition: var(--transition) !important;
    border: 1px solid transparent !important;
}

/* Day hover states */
.flatpickr-day:hover,
.flatpickr-day:focus {
    background-color: rgba(249, 115, 22, 0.1) !important;
    border-color: transparent !important;
    color: var(--color-orange) !important;
}

/* Today style override */
.flatpickr-day.today {
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

.flatpickr-day.today:hover {
    background-color: var(--color-primary) !important;
    color: var(--bg-white) !important;
}

/* Selected Day style override */
.flatpickr-day.selected,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:hover {
    background-color: var(--color-orange) !important;
    border-color: var(--color-orange) !important;
    color: var(--bg-white) !important;
    box-shadow: 0 4px 12px var(--color-orange-glow) !important;
    font-weight: 700 !important;
}

/* Disabled days */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: var(--text-light) !important;
    background: transparent !important;
}

/* Interactive Time Picker Area */
.flatpickr-time {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding-top: 8px !important;
    margin-top: 8px !important;
    background-color: rgba(30, 58, 138, 0.02) !important;
    border-radius: 0 0 var(--border-radius) var(--border-radius) !important;
}

.flatpickr-time input {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
}

.flatpickr-time .flatpickr-am-pm {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
    background-color: rgba(30, 58, 138, 0.08) !important;
}

.flatpickr-time .numInputWrapper span.arrowUp::after {
    border-bottom-color: var(--color-primary) !important;
}

.flatpickr-time .numInputWrapper span.arrowDown::after {
    border-top-color: var(--color-primary) !important;
}

