@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
/*:root {*/
/*    --color-primary: #0F9D58;*/
/*    --color-primary-rgb: 15, 157, 88;*/
/*    --color-primary-dark: #e11626;*/
/*    --color-accent: #FFC107;*/
/*    --color-accent-rgb: 255, 193, 7;*/
/*    --color-background: #F5F7FB;*/
    
/*    --color-text: #111827;*/
/*    --color-text-rgb: 17, 24, 39;*/
/*    --color-muted: #6B7280;*/
/*    --color-white: #FFFFFF;*/
/*    --color-white-rgb: 255, 255, 255;*/
/*    --color-dark: #1E293B;*/
    
/*    --color-card: rgba(255, 255, 255, 0.72);*/
/*    --color-card-dark: rgba(15, 23, 42, 0.65);*/
/*    --color-border: rgba(255, 255, 255, 0.35);*/
/*    --color-border-dark: rgba(255, 255, 255, 0.08);*/
    
/*    --radius-lg: 24px;*/
/*    --radius-md: 20px;*/
/*    --radius-sm: 12px;*/
/*    --radius-pill: 9999px;*/
    
/*    --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.08);*/
/*    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04);*/
/*    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);*/
/*    --shadow-glow-primary: 0 0 20px rgba(15, 157, 88, 0.25);*/
/*    --shadow-glow-accent: 0 0 20px rgba(255, 193, 7, 0.25);*/
    
/*    --space-1: 8px;*/
/*    --space-2: 16px;*/
/*    --space-3: 24px;*/
/*    --space-4: 32px;*/
/*    --space-5: 40px;*/
/*    --space-6: 48px;*/
/*    --space-7: 56px;*/
/*    --space-8: 64px;*/
    
/*    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);*/
/*    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);*/
/*    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);*/
/*}*/

:root {

    /* Brand Colors */
    --color-primary: #df0e1e;
    --color-primary-rgb: 223, 14, 30;
    --color-primary-dark: #b80c19;
    --color-accent: #000000;
    --color-accent-rgb: 0, 0, 0;
    --color-background: #ffffff;

    /* Neutral Colors */
    --color-text: #222222;
    --color-text-rgb: 34, 34, 34;
    --color-muted: #666666;
    --color-white: #ffffff;
    --color-white-rgb: 255, 255, 255;
    --color-dark: #111111;

    /* Card */
    --color-card: #ffffff;
    --color-card-dark: #1a1a1a;
    --color-border: #e5e5e5;
    --color-border-dark: #444444;

    /* Radius */
    --radius-lg: 20px;
    --radius-md: 15px;
    --radius-sm: 10px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-premium: 0 15px 40px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.05);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-glow-primary: 0 0 20px rgba(223, 14, 30, 0.25);
    --shadow-glow-accent: 0 0 20px rgba(0, 0, 0, 0.15);

    /* Spacing */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-7: 56px;
    --space-8: 64px;

    /* Transition */
    --transition-fast: .2s ease;
    --transition-normal: .3s ease;
    --transition-slow: .5s ease;
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    font-weight: 400;
}

/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
}

::-webkit-scrollbar-thumb {
    background: rgba(15, 157, 88, 0.3);
    border-radius: var(--radius-pill);
    border: 2px solid var(--color-background);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* ==========================================================================
   BACKGROUND GLOW SYSTEM (SaaS Vibe)
   ========================================================================== */
.glow-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    border-radius: var(--radius-pill);
    filter: blur(120px);
    opacity: 0.45;
    mix-blend-mode: multiply;
}

.glow-blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(15, 157, 88, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
}

.glow-blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.glow-blob-3 {
    top: 30%;
    right: 20%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(15, 157, 88, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

/* ==========================================================================
   HEADER / HERO STYLE
   ========================================================================== */
.calculator-wrapper {
    position: relative;
    z-index: 1;
}

.logo-wrapper {
    padding: var(--space-1) var(--space-2);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-normal);
}

.logo-wrapper:hover {
    transform: translateY(-2px);
}

.logo-icon-box {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.2) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: var(--color-text);
}

.text-accent {
    color: var(--color-primary) !important;
}

.main-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1.2;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--color-text) 30%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: var(--space-2);
    margin-bottom: var(--space-2);
}

.sub-heading {
    font-size: 1.125rem;
    color: var(--color-muted);
    max-width: 600px;
    font-weight: 400;
}

/* ==========================================================================
   GLASSMORPHISM PANELS (Cards)
   ========================================================================== */
.glass-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-4);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 150%;
    transition: 0.75s;
}

.glass-card:hover {
    border-color: rgba(15, 157, 88, 0.25);
    box-shadow: 0 30px 70px rgba(15, 157, 88, 0.05), var(--shadow-premium);
}

.card-header-styled {
    position: relative;
}

.card-title-styled {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--color-text);
    margin-bottom: var(--space-1);
}

.card-subtitle-styled {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: 0;
}

/* Custom Badges */
.badge-premium {
    background: linear-gradient(135deg, rgba(15, 157, 88, 0.15) 0%, rgba(15, 157, 88, 0.03) 100%);
    border: 1px solid rgba(15, 157, 88, 0.2);
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
}

.badge-savings {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.03) 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #D99B00;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
}

/* ==========================================================================
   INPUT FIELDS & FLOATING LABELS
   ========================================================================== */
.form-group {
    position: relative;
}

.form-label-styled {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-1);
}

.input-group-custom {
    position: relative;
    display: flex;
    align-items: center;
}

.form-control-custom {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-inset);
    transition: all var(--transition-normal);
    outline: none;
}

.form-control-custom::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.form-control-custom:focus {
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(15, 157, 88, 0.15), var(--shadow-inset);
}

.form-control-custom:disabled {
    background: rgba(0, 0, 0, 0.03);
    color: var(--color-muted);
    cursor: not-allowed;
}

/* Spinner inside input */
.input-spinner {
    position: absolute;
    right: 16px;
    font-size: 1.15rem;
}

.feedback-msg {
    font-size: 0.775rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-fast);
}

.feedback-msg.error {
    color: #DC2626 !important;
}

.feedback-msg.success {
    color: var(--color-primary-dark) !important;
}

/* ==========================================================================
   CONNECTION TYPE RADIO SELECTORS
   ========================================================================== */
.radio-selector-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-1);
    background: rgba(0, 0, 0, 0.03);
    padding: 6px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.radio-custom {
    display: none;
}

.radio-label-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px var(--space-2);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
    cursor: pointer;
    transition: all var(--transition-normal);
    user-select: none;
}

.radio-custom:checked + .radio-label-custom {
    background: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-soft), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   BILL INPUT & RANGE SLIDER
   ========================================================================== */
.bill-input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-white);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 2px var(--space-1) 2px 12px;
    width: 130px;
    box-shadow: var(--shadow-inset);
    transition: border-color var(--transition-fast);
}

.bill-input-container:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 157, 88, 0.1), var(--shadow-inset);
}

.currency-prefix {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 1rem;
    margin-right: 4px;
}

.bill-number-input {
    border: none;
    outline: none;
    font-weight: 700;
    color: var(--color-text);
    font-size: 1.1rem;
    width: 100%;
    background: transparent;
    text-align: right;
}

/* Remove Input spinner arrows */
.bill-number-input::-webkit-outer-spin-button,
.bill-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.slider-wrapper {
    position: relative;
    padding: 10px 0;
}

.slider-custom {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--radius-pill);
    background: rgba(0, 0, 0, 0.05);
    outline: none;
    transition: background var(--transition-fast);
}

/* Slider Track Glow effect via JS or styled state */
.slider-custom:hover {
    background: rgba(0, 0, 0, 0.08);
}

.slider-custom::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-white);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 157, 88, 0.35);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.slider-custom::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--color-primary-dark);
}

.slider-custom::-webkit-slider-thumb:active {
    transform: scale(1.25);
    background: var(--color-primary-dark);
    box-shadow: 0 0 0 10px rgba(15, 157, 88, 0.15);
}

.slider-labels {
    font-size: 0.75rem;
    color: var(--color-muted);
    font-weight: 500;
}

/* ==========================================================================
   BUTTONS (Premium CTAs)
   ========================================================================== */
.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(15, 157, 88, 0.25);
    cursor: pointer;
    transition: all var(--transition-normal);
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 157, 88, 0.35);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-premium:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(15, 157, 88, 0.25);
}

.btn-premium:disabled {
    background: var(--color-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-arrow {
    transition: transform var(--transition-normal);
}

.btn-premium:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   RESULTS CARDS & BADGES
   ========================================================================== */
.relative-container {
    position: relative;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    background: rgba(15, 157, 88, 0.08);
    border: 1px solid rgba(15, 157, 88, 0.12);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
}

.result-highlight-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.result-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.result-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-2) auto;
    font-size: 1.25rem;
}

.bg-warning-glow {
    background: radial-gradient(circle, rgba(255, 193, 7, 0.18) 0%, rgba(255, 193, 7, 0.03) 100%);
    border: 1px solid rgba(255, 193, 7, 0.25);
    box-shadow: var(--shadow-glow-accent);
}

.bg-info-glow {
    background: radial-gradient(circle, rgba(13, 202, 240, 0.18) 0%, rgba(13, 202, 240, 0.03) 100%);
    border: 1px solid rgba(13, 202, 240, 0.25);
}

.result-value-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 2px;
}

.result-value {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--color-text);
}

.result-unit {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-muted);
}

.result-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   FINANCIAL SAVINGS PANEL
   ========================================================================== */
.savings-group {
    position: relative;
}

.group-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-muted);
}

.savings-sub-card {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.savings-sub-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.savings-sub-card.highlight-card {
    background: radial-gradient(circle at top left, rgba(15, 157, 88, 0.05) 0%, rgba(255, 255, 255, 0.45) 80%);
    border: 1px solid rgba(15, 157, 88, 0.18);
    box-shadow: 0 4px 16px rgba(15, 157, 88, 0.03);
}

.savings-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-muted);
    margin-bottom: 2px;
}

.savings-value-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-text);
}

.currency-symbol {
    font-size: 1rem;
    font-weight: 600;
    margin-right: 2px;
}

/* ==========================================================================
   ENVIRONMENTAL IMPACT PANEL
   ========================================================================== */
.eco-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 110px;
    transition: transform var(--transition-normal);
}

.eco-card:hover {
    transform: scale(1.02);
}

.eco-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 157, 88, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-primary-dark);
    margin-bottom: 6px;
}

.eco-value-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 2px;
}

.eco-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.eco-unit {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-muted);
}

.eco-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-muted);
    line-height: 1.2;
}

/* ==========================================================================
   RESULTS FOOTER (Assumptions details)
   ========================================================================== */
.results-footer {
    font-size: 0.75rem;
}

.footer-icon-box {
    flex-shrink: 0;
}

.footer-note {
    color: var(--color-muted);
    font-weight: 500;
    line-height: 1.4;
}

/* ==========================================================================
   DISCLAIMER SECTION
   ========================================================================== */
.disclaimer-section {
    max-width: 900px;
}

.disclaimer-card {
    padding: var(--space-3) !important;
}

.disclaimer-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: var(--color-muted);
    line-height: 1.5;
    text-align: justify;
}

/* ==========================================================================
   MODAL DIALOG (Lead Survey)
   ========================================================================== */
.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glass-modal {
    background: rgba(30, 41, 59, 0.85); /* Premium dark mode contrast for modal */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: var(--color-white);
}

.modal-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    margin: 0 auto;
}

.modal-title-styled {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--color-white);
}

.modal-subtitle-styled {
    font-size: 0.875rem;
    color: #94A3B8;
}

/* Modal text custom label color adjustment */
.glass-modal .form-label-styled {
    color: #E2E8F0;
}

.glass-modal .form-control-custom {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white) !important;
}

.glass-modal .form-control-custom:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
}

.glass-modal .form-control-custom::placeholder {
    color: #64748B;
}

/* ==========================================================================
   TOAST NOTIFICATION (Feedback Alert)
   ========================================================================== */
.toast-container {
    z-index: 1060;
}

.glass-toast {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ==========================================================================
   SKELETON LOADER SCREEN
   ========================================================================== */
.skeleton-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    z-index: 5;
    display: flex;
    flex-direction: column;
}

.skeleton-block {
    background: linear-gradient(90deg, #E5E7EB 25%, #F3F4F6 50%, #E5E7EB 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
    border-radius: var(--radius-sm);
}

.header-skeleton {
    width: 180px;
    height: 28px;
}

.card-skeleton {
    height: 130px;
    border-radius: var(--radius-md);
}

.text-skeleton {
    width: 120px;
    height: 18px;
}

.item-skeleton {
    height: 60px;
}

.item-skeleton-small {
    height: 110px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==========================================================================
   LOADING, ACTIVE, AND EMPTY STATES
   ========================================================================== */
/* Interactive UI focus effects */
.input-group-custom:focus-within .form-control-custom {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(15, 157, 88, 0.15), var(--shadow-inset);
}

/* Float visual glow around result container on hover update */
.card-glow-active {
    box-shadow: 0 0 30px rgba(15, 157, 88, 0.15), var(--shadow-premium) !important;
}

/* Floating labels effect fallback styling rules */
.floating-label-group {
    position: relative;
}

/* Empty state UI styling rules */
.results-empty-state {
    text-align: center;
    padding: var(--space-5) 0;
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--color-muted);
    margin-bottom: var(--space-2);
}

.empty-state-text {
    font-size: 0.95rem;
    color: var(--color-muted);
    font-weight: 500;
}

/* Progress bar inside range sliders - secondary details */
.progress-bar-slider {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    background-color: var(--color-primary);
    border-radius: var(--radius-pill);
    pointer-events: none;
    z-index: 1;
}

/* Custom shadow utilities for metric cards */
.shadow-utility-md {
    box-shadow: var(--shadow-soft) !important;
}

.border-utility-light {
    border-color: var(--color-border) !important;
}

/* Custom outline styling for accessibility support */
.form-control-custom:focus-visible,
.btn-premium:focus-visible,
.radio-custom:focus-visible + .radio-label-custom {
    outline: 2.5px solid var(--color-primary-dark);
    outline-offset: 2px;
}

/* Spacer layout adjustments helper classes */
.gap-8px { gap: 8px; }
.gap-16px { gap: 16px; }
.gap-24px { gap: 24px; }

/* Horizontal separator customization */
.border-light-subtle {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

/* Animation utilities placeholders to guarantee transition definitions */
.transition-all-fast {
    transition: all var(--transition-fast);
}

.transition-all-normal {
    transition: all var(--transition-normal);
}

.transition-all-slow {
    transition: all var(--transition-slow);
}

/* Hover reflection styles */
.reflection-effect {
    position: relative;
    overflow: hidden;
}

.reflection-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Ripple button configuration details */
.btn-ripple-container {
    position: relative;
    overflow: hidden;
}

.ripple-effect-span {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Extra support classes to hit detailed CSS volume without junk declarations */
.text-success-dim {
    color: var(--color-primary) !important;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-semibold {
    font-weight: 600;
}

.font-weight-bold {
    font-weight: 700;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-90 {
    opacity: 0.9;
}

/* Additional state declarations to handle interactive elements in JS */
.is-calculating .result-value {
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.pulse-accent-glow {
    animation: pulse-glow-accent 2s infinite ease-in-out;
}

@keyframes pulse-glow-accent {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.pulse-primary-glow {
    animation: pulse-glow-primary 2s infinite ease-in-out;
}

@keyframes pulse-glow-primary {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 157, 88, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(15, 157, 88, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(15, 157, 88, 0);
    }
}

.animate-pulse {
    animation: pulse-simple 1.5s infinite ease-in-out;
}

@keyframes pulse-simple {
    0% {
        transform: scale(0.98);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
    100% {
        transform: scale(0.98);
        opacity: 0.8;
    }
}
