/* EV Savings Calculator - Premium Design */

:root {
    --hgl-brand-green: #2E7D32;
    --hgl-brand-green-light: #4CAF50;
    --hgl-brand-blue-bg: #E3F2FD;
    --hgl-brand-blue-accent: #2196F3;
    --hgl-text-dark: #1A1A1A;
    --hgl-text-muted: #666666;
    --hgl-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hgl-border-color: #E5E7EB;
}


.hgl-calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: #FFFFFF;
    overflow: hidden;
}

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

/* --- Left Column: Inputs --- */
.hgl-calculator-inputs {
    padding: 0rem;
}
.hgl-calculator-container{
    padding-top: 4rem;
    padding-bottom: 4rem;
background: #fff;
}

.hgl-calc-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--hgl-text-muted);
    margin-bottom: 0.5rem;
}

.hgl-calc-heading {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--hgl-text-dark);
}

.hgl-calc-heading span {
    color: var(--hgl-brand-green);
}

.hgl-calc-subtext {
    color: var(--hgl-text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.hgl-calc-rates-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hgl-calc-rate-box {
    background: var(--hgl-brand-blue-bg);
    padding: 1.5rem;
    border-radius: 1rem;
}

.hgl-calc-rate-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hgl-text-muted);
    margin-bottom: 0.5rem;
}

.hgl-calc-rate-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hgl-text-dark);
}

.hgl-calc-rate-value span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--hgl-text-muted);
}

.hgl-calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hgl-calc-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hgl-calc-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hgl-text-muted);
}

.hgl-calc-input-wrap {
    background: #F9FAFB;
    border: 1px solid var(--hgl-border-color);
    border-radius: 1rem;
    height: 4rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    transition: border-color 0.2s;
}

.hgl-calc-input-wrap:focus-within {
    border-color: var(--hgl-brand-green);
}

.hgl-calc-input-wrap input,
.hgl-calc-input-wrap select {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hgl-text-dark);
    outline: none;
}

.hgl-calc-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* --- Right Column: Results --- */
.hgl-calculator-results {
    background: #DDF1FF;
    padding: 1rem;
    border-radius: 2rem;
    display: flex;
    margin-bottom: 25px;
    flex-direction: column;
    justify-content: center;
}

.hgl-calc-results-header {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    font-size: 0.875rem;
    color: #1A4D6B;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.hgl-calc-results-header::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #2E7D32;
    border-radius: 50%;
}

.hgl-calc-savings-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 1.5rem;
    /* margin-bottom: 3rem; */
}

.hgl-calc-savings-box {
    background: #F0F9FF;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.hgl-calc-savings-box--highlight {
    background: #EBF8FF;
}

.hgl-calc-savings-label {
    display: block;
    color: var(--hgl-text-muted);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.hgl-calc-savings-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--hgl-brand-green);
}

.hgl-calc-costs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.hgl-calc-cost-card {
    background: #F0F9FF;
    padding: 2.5rem;
    border-radius: 2rem;
}

.hgl-calc-cost-card--dark {
    background: #2E7D32;
    color: #FFFFFF;
}

.hgl-calc-cost-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(0,0,0,0.05);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hgl-calc-cost-card--dark .hgl-calc-cost-icon {
    background: rgba(255,255,255,0.1);
}

.hgl-calc-cost-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hgl-calc-cost-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.hgl-calc-cost-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}

.hgl-calc-cost-card--dark .hgl-calc-cost-footer {
    border-top-color: rgba(255,255,255,0.1);
}

.hgl-calc-cost-expense-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.hgl-calc-cost-expense-value {
    font-size: 2rem;
    font-weight: 900;
}

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

.hgl-calculator-wrapper > * {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Select Styling */
.calc-fuel-type option {
    font-weight: normal;
    color: var(--hgl-text-dark);
    padding: 10px;
}
