﻿.auto-loan-calculator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
}

.auto-loan-calculator .pill-link{
    margin-top:12px;
}

.auto-loan-calculator .pill-link{
    margin-left:auto;
    margin-right:auto;
}

.benefit-interactive-box {
    border-radius: var(--Radius-rd-lg, 1rem);
    border: 0px solid var(--Color-white-70, rgba(255, 255, 255, 0.70));
    padding: var(--Spacing-sp-lg, 2rem);
    color: var(--Color-white, white);
    width: 100%;
    background-image: linear-gradient(to bottom right, rgba(74, 135, 255, .5), rgba(26, 51, 117, .7));
    box-shadow: 0px 12px 30px rgba(0, 0, 0, .5);
}

/* Down Payment Section */
.downpayment {
    margin-bottom: var(--Spacing-sp-md, 1.5rem);
}

.downpayment-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--Spacing-sp-xs, 0.75rem);
}

.down-payment {
    font-size: var(--Typography-fs-md, 0.875rem);
    line-height: var(--Typography-lh-normal, 1.5);
    letter-spacing: 0px;
    color: var(--Color-white, white);
    font-weight: var(--Typography-fw-medium, 500);
}

.down-payment-value {
    font-size: var(--Typography-fs-md, 0.875rem);
    line-height: var(--Typography-lh-normal, 1.5);
    letter-spacing: 0px;
    color: var(--Color-white, white);
    font-weight: var(--Typography-fw-bold, 700);
}

/* Car Price Section */
.car-price {
    margin-bottom: var(--Spacing-sp-md, 1.5rem);
}

.downpayment-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--Spacing-sp-xs, 0.75rem);
}

.car-price-2 {
    font-size: var(--Typography-fs-md, 0.875rem);
    line-height: var(--Typography-lh-normal, 1.5);
    letter-spacing: 0px;
    color: var(--Color-white, white);
    font-weight: var(--Typography-fw-medium, 500);
}

.car-price-value {
    font-size: var(--Typography-fs-md, 0.875rem);
    line-height: var(--Typography-lh-normal, 1.5);
    letter-spacing: 0px;
    color: var(--Color-white, white);
    font-weight: var(--Typography-fw-bold, 700);
}

/* Slider Styling */
.slider {
    position: relative;
    width: 100%;
    margin-bottom: var(--Spacing-sp-xxs, 0.5rem);
}

.slide-base {
    width: 100%;
    height: 12px;
    border-radius: var(--Radius-rd-round, 624.9375rem);
    background: var(--Primitives-Neutral-neutral-300, #E1E4E6);
    position: relative;
}

.frame-134 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.rectangle-2 {
    position: absolute;
    top: 0;
    left: 0;
    height: 12px;
    border-radius: var(--Radius-rd-round, 624.9375rem);
    background: var(--Semantic-Fills-tran-blue-1, rgba(0, 183, 239, 0.25));
    transition: width 0.2s ease;
}

.ellipse-1 {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--Gradient-grad-spectrum);
    cursor: pointer;
    position: relative;
    z-index: 3;
    transition: all 0.15s ease;
    margin-left: -14px;
    filter: drop-shadow(0px 7px 8px rgba(0, 0, 0, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
}

.ellipse-inner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--Gradient-ccu-grad-neut-1);
}

.ellipse-1:hover {
    transform: scale(1.05);
}

.ellipse-1:active {
    transform: scale(0.95);
}

.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 4;
    -webkit-appearance: none;
    appearance: none;
}

    .slider-input::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
    }

    .slider-input::-moz-range-thumb {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
        border: none;
    }

/* Payment Section */
.frame-141 {
    text-align: center;
    margin: var(--Spacing-sp-lg, 2rem) 0;
}

.estimated-monthly-payment {
    font-size: var(--Typography-fs-md, 0.875rem);
    line-height: var(--Typography-lh-normal, 1.5);
    letter-spacing: 0px;
    color: var(--Color-white, white);
    margin-bottom: var(--Spacing-sp-sm, 1rem);
    opacity: 0.9;
}

.estimates {
    display: flex;
    justify-content: space-between;
    gap: var(--Spacing-sp-sm, 1rem);
}

.price-bug, .price-bug-2 {
    flex: 1;
    text-align: center;
}

.price-bug-2{
    display:none;
}

.frame-136, .frame-136-2 {
    margin-bottom: var(--Spacing-sp-xxs, 0.5rem);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--Spacing-sp-xxxs, 0.25rem);
}

.unnamed, .unnamed-2 {
    font-size: var(--Typography-fs-lg, 1.25rem);
    line-height: var(--Typography-lh-tight, 1);
    letter-spacing: 0px;
    color: var(--Color-white, white);
    font-weight: var(--Typography-fw-normal, 400);
    align-self: flex-start;
    margin-top: var(--Spacing-sp-xxxs, 0.25rem);
}

.payment-amount-large {
    font-size: var(--Typography-fs-xl, 2.5rem);
    line-height: var(--Typography-lh-tight, 1);
    letter-spacing: 0%;
    color: var(--Color-white, white);
    font-weight: var(--Typography-fw-bold, 700);
}

.frame-138, .frame-138-2 {
    background: var(--Color-white-20, rgba(255, 255, 255, 0.2));
    border-radius: 4px;
    padding: var(--Spacing-sp-xxxs, 0.25rem) var(--Spacing-sp-xxs, 0.5rem);
    display: inline-block;
}

.best-deal, .average-deal {
    font-size: var(--Typography-fs-sm, 0.75rem);
    line-height: var(--Typography-lh-normal, 1.5);
    letter-spacing: 0px;
    color: var(--Color-white, white);
}

/* Loan Details */
.loan-details {
    margin-top: var(--Spacing-sp-md, 1.5rem);
    padding-top: var(--Spacing-sp-md, 1.5rem);
    border-top: 1px solid var(--Color-white-20, rgba(255, 255, 255, 0.2));
    font-size: var(--Typography-fs-base);
    opacity: 0.8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px var(--Spacing-sp-sm, 1rem);
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.loan-detail-row {
    display: contents;
}

.loan-detail-label {
    text-align: right;
    white-space: nowrap;
    margin-bottom: 8px;
}

.loan-detail-value {
    text-align: left;
    white-space: nowrap;
    margin-bottom: 8px;
}

/* CTA Section */
.frame-139 {
    text-align: center;
    margin-top: 0;
}

.pill-button {
    background: var(--Gradient-grad-spectrum);
    border-radius: 50px;
    padding: 2px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    overflow: hidden;
    position: relative;
}

.pill-button-inner {
    background: var(--Color-neutral-900, #1f2937);
    border-radius: 48px;
    display: flex;
    align-items: center;
    width: 100%;
    transition: all 0.2s ease;
    padding: 8px;
}

.pill-button:hover {
    background: var(--Color-white, white);
}

    .pill-button:hover .pill-button-inner {
        background: var(--Color-neutral-700, #374151);
    }

    .pill-button:hover .circle-icon {
        background: var(--Color-white, white);
    }

    .pill-button:hover .icon {
        color: var(--Color-warning-500, #f97316);
    }

.view-all-rates {
    font-size: var(--Typography-fs-md, 0.875rem);
    line-height: var(--Typography-lh-normal, 1.5);
    letter-spacing: 0%;
    color: var(--Color-white, white);
    font-weight: var(--Typography-fw-semibold, 600);
    padding: 0;
    background: transparent;
    border: none;
    text-align: left;
    padding-left: 16px;
    white-space: nowrap;
}

.circle-icon {
    background: var(--Color-warning-500, #f97316);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 16px;
    transition: all 0.2s ease;
}

.icon-arrow-angleup {
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    color: var(--Color-white, white);
    font-size: var(--Typography-fs-md, 0.875rem);
    font-weight: var(--Typography-fw-bold, bold);
    transition: all 0.2s ease;
}

.legal-disclaimer {
    font-size: var(--Typography-fs-sm, 0.75rem);
    color: var(--Color-white, white);
    opacity: 0.7;
    margin-top: var(--Spacing-sp-xs, 0.75rem);
    line-height: var(--Typography-lh-normal, 1.5);
    text-align: center;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auto-loan-calculator {
        padding: var(--Spacing-sp-xxs, 0.5rem);
    }

    .benefit-interactive-box {
        padding: var(--Spacing-sp-sm, 1rem);
    }

    .downpayment, .car-price {
        margin-bottom: var(--Spacing-sp-sm, 1rem);
    }

    .frame-141 {
        margin: var(--Spacing-sp-sm, 1rem) 0;
    }

    .estimates {
        gap: var(--Spacing-sp-xxs, 0.5rem);
    }

    .payment-amount-large {
        
    }

    .unnamed, .unnamed-2 {
        font-size: var(--Typography-fs-md, 0.875rem);
    }

    .circle-icon {
        width: 32px;
        height: 32px;
        margin-left: var(--Spacing-sp-xxs, 0.5rem);
    }

    .view-all-rates {
        font-size: var(--Typography-fs-sm, 0.75rem);
        padding-left: var(--Spacing-sp-xxs, 0.5rem);
    }
}
