.auto-state-rate-estimator h2, .auto-state-rate-estimator h3 {
    font-family: 'Roboto', sans-serif;
}
.auto-state-rate-estimator {
    position: relative;
    margin: 32px 0;
    font-family: 'Roboto', sans-serif;
    color: #010852;
}
.auto-state-rate-estimator .widget-loader-container {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.91);
    z-index: 100;
    display: none;
    border-radius: 16px;
}
.auto-state-rate-estimator .loading_msg,
.auto-state-rate-estimator .loading_msg:before,
.auto-state-rate-estimator .loading_msg:after {
    background: #0889d6;
    animation: asre-loading 1s infinite ease-in-out;
    width: 11px;
    height: 44px;
}
.auto-state-rate-estimator .loading_msg {
    text-indent: -9999px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translateZ(0);
    animation-delay: -0.16s;
}
.auto-state-rate-estimator .loading_msg:before,
.auto-state-rate-estimator .loading_msg:after {
    position: absolute;
    top: 0;
    content: "";
}
.auto-state-rate-estimator .loading_msg:before {
    left: -17px;
    animation-delay: -0.32s;
}
.auto-state-rate-estimator .loading_msg:after {
    left: 17px;
}
@keyframes asre-loading {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 44px;
    }
    40% {
        box-shadow: 0 -22px;
        height: 55px;
    }
}
/* Card */
.auto-state-rate-estimator .asre-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e6e8f2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(8, 12, 40, 0.04),
        0 4px 12px -4px rgba(8, 12, 40, 0.06),
        0 24px 48px -24px rgba(8, 12, 40, 0.14);
}
.auto-state-rate-estimator .asre-card::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}
.auto-state-rate-estimator .asre-card::before {
    top: -75px;
    right: -75px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,
            rgba(8, 137, 214, 0.12) 0%,
            rgba(8, 137, 214, 0) 70%);
}
.auto-state-rate-estimator .asre-header,
.auto-state-rate-estimator .asre-body,
.auto-state-rate-estimator .asre-footer {
    position: relative;
}
.auto-state-rate-estimator .asre-header {
    z-index: 5;
}
.auto-state-rate-estimator .asre-body,
.auto-state-rate-estimator .asre-footer {
    z-index: 1;
}
/* Header */
.auto-state-rate-estimator .asre-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e6e8f2;
}
.auto-state-rate-estimator .asre-header-top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.auto-state-rate-estimator .asre-header .asre-state-field {
    width: 100%;
    max-width: 360px;
}
.auto-state-rate-estimator .asre-title {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
    color: #0b1030;
    letter-spacing: -0.2px;
}
.auto-state-rate-estimator .asre-updated-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-top: 0;
    padding: 4px 8px;
    border: 1px solid #e6e8f2;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 400;
    line-height: 21px;
    color: #5b6079;
    background: #ffffff;
    white-space: nowrap;
}
.auto-state-rate-estimator .asre-updated-icon {
    display: block;
    flex-shrink: 0;
}
/* Body */
.auto-state-rate-estimator .asre-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}
.auto-state-rate-estimator .asre-col-primary {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.auto-state-rate-estimator .asre-col-primary::before {
    content: "";
    position: absolute;
    left: -100px;
    top: -30px;
    width: 185px;
    height: 180px;
    background: radial-gradient(ellipse at center,
            rgba(8, 137, 214, 0.1) 10%,
            rgba(8, 137, 214, 0) 72%);
    pointer-events: none;
    z-index: 0;
}
.auto-state-rate-estimator .asre-state-field,
.auto-state-rate-estimator .asre-annual-block {
    position: relative;
    z-index: 1;
}
.auto-state-rate-estimator .asre-state-form {
    margin: 0;
}
.auto-state-rate-estimator .asre-state-field .form-group {
    margin-bottom: 0;
}
/* State field */
.auto-state-rate-estimator .asre-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    color: #5b6079;
}
.auto-state-rate-estimator .asre-label-icon {
    display: block;
    flex-shrink: 0;
}
.auto-state-rate-estimator .asre-state-field .dropdown-block,
.auto-state-rate-estimator .asre-state-field {
    position: relative;
    z-index: 10;
}
.auto-state-rate-estimator .asre-state-field:has(.select-dropdown.slide-down) {
    z-index: 500;
}
.auto-state-rate-estimator .asre-state-field .dropdown-block > .dropdown-list.asre-state-select {
    display: block;
    position: relative;
    width: 100%;
    min-height: 44px;
    height: 44px;
    padding: 8px 14px 8px 14px;
    font-size: 16px;
    font-weight: 500;
    line-height: 22.86px;
    color: #0A0A0A;
    background: #ffffff;
    border: 1px solid #e6e8f2;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}
.auto-state-rate-estimator .asre-state-field .dropdown-list.dropdown-arrow::before {
    top: 50%;
    margin-top: -4px;
    border-color: #717182;
    border-width: 0 1.5px 1.5px 0;
    padding: 3px;
    right: 16px;
}
.auto-state-rate-estimator .asre-state-field .dropdown-list.dropdown-arrow.open::before {
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
}
.auto-state-rate-estimator .asre-state-field .select-dropdown {
    display: block;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    max-height: 264px !important;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    background: #ffffff;
    border: 1px solid #e6e8f2;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(1, 8, 82, 0.1);
    z-index: 501 !important;
}
.auto-state-rate-estimator .asre-state-field .select-dropdown span {
    display: block;
    padding: 8px 12px;
    margin: 0 auto;
    width: calc(100% - 8px);
    color: #010852;
    box-sizing: border-box;
}
.auto-state-rate-estimator .asre-state-field .select-dropdown span:hover,
.auto-state-rate-estimator .asre-state-field .select-dropdown span.selected {
    color: #0889d6;
    background: #f5f8fc;
    border-radius: 6px;
    box-shadow: none;
}
.auto-state-rate-estimator .asre-state-field .select-dropdown.slide-down {
    height: 264px !important;
    max-height: 264px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border-color: #010852;
}
.auto-state-rate-estimator .asre-state-field .select-dropdown.slide-up {
    height: 0 !important;
    overflow: hidden !important;
}
.auto-state-rate-estimator .asre-state-field .select-dropdown.slide-down::-webkit-scrollbar {
    width: 6px;
}
.auto-state-rate-estimator .asre-state-field .select-dropdown.slide-down::-webkit-scrollbar-thumb {
    background: #c0c1d1;
    border-radius: 3px;
}
.auto-state-rate-estimator .asre-state-field .dropdown-list:focus {
    box-shadow: none;
}
.auto-state-rate-estimator .asre-state-field .dropdown-list.open {
    border-color: #010852;
}
.auto-state-rate-estimator .asre-state-field .dropdown-list.open[aria-expanded="true"] {
    border-color: #010852;
}
/* Annual */
.auto-state-rate-estimator .asre-annual-label {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    color: #5b6079;
}
.auto-state-rate-estimator .asre-annual-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    min-height: 82px;
}
.auto-state-rate-estimator .asre-annual-value-wrap {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 14.65px;
    min-width: 0;
}
.auto-state-rate-estimator .asre-annual-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    color: #010852;
    letter-spacing: -0.72px;
}
.auto-state-rate-estimator .asre-annual-suffix {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #5b6079;
}
.auto-state-rate-estimator .asre-national-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    line-height: 21px;
    white-space: nowrap;
    background: #fff4e5;
    color: #8a5a00;
    align-self: flex-start;
    margin-top: 1px;
    flex-shrink: 0;
}
.auto-state-rate-estimator .asre-national-badge.higher {
    background: #fff4e5;
    color: #8a5a00;
}
.auto-state-rate-estimator .asre-national-badge.lower,
.auto-state-rate-estimator .asre-national-badge.neutral {
    background: #e6f4fc;
    color: #0889d6;
}
.auto-state-rate-estimator .asre-badge-icon {
    display: block;
    flex-shrink: 0;
}
/* Stat cards — stacked on mobile, side-by-side on desktop */
.auto-state-rate-estimator .asre-cards-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 28px;
}
.auto-state-rate-estimator .asre-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    box-sizing: border-box;
}
.auto-state-rate-estimator .asre-stat-card-monthly {
    background: #fafbfe;
    border: 1px solid #e6e8f2;
}
.auto-state-rate-estimator .asre-stat-card-cheapest {
    background: #e6f4fc;
    border: 1px solid rgba(8, 137, 214, 0.2);
}
.auto-state-rate-estimator .asre-stat-card-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid #e6e8f2;
    border-radius: 10px;
    background: #ffffff;
}
.auto-state-rate-estimator .asre-stat-card-icon-wrap--brand {
    background: #0889d6;
    border-color: #0889d6;
}
.auto-state-rate-estimator .asre-stat-card-content {
    flex: 1;
    min-width: 0;
}
.auto-state-rate-estimator .asre-stat-card-label {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    color: #5b6079;
}
.auto-state-rate-estimator .asre-stat-card-value {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #010852;
}
.auto-state-rate-estimator .asre-stat-card-meta,
.auto-state-rate-estimator .asre-stat-card-subvalue {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #5b6079;
}
/* Savings + CTA row */
.auto-state-rate-estimator .asre-action-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}
.auto-state-rate-estimator .asre-savings-block {
    flex: 1;
    min-width: 0;
}
.auto-state-rate-estimator .asre-savings-message {
    margin: 20px 0 6px;
    font-size: 18px;
    font-weight: 500;
    line-height: 25.2px;
    letter-spacing: -0.09px;
    color: #0b1030;
}
.auto-state-rate-estimator .asre-savings-highlight {
    color: #0889d6;
    font-weight: 700;
}
.auto-state-rate-estimator .asre-savings-footnote {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #5b6079;
}
.auto-state-rate-estimator .asre-cta-block {
    width: 100%;
    margin-bottom: 8px;
}
.auto-state-rate-estimator .asre-cta-form {
    margin: 0;
    width: 100%;
}
.auto-state-rate-estimator .asre-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-height: 48px;
    padding: 10.5px 22px 11.5px;
    border: none;
    border-radius: 10px;
    background: #0889d6;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease;
    box-shadow: 0 2px 3px rgba(8, 137, 214, 0.3);
}
.auto-state-rate-estimator .asre-cta-btn:hover {
    background: #006aa8;
}
.auto-state-rate-estimator .asre-cta-btn.d-none {
    display: none !important;
}
@media (min-width: 768px) {
    .auto-state-rate-estimator .asre-cta-btn.get-quote-btn.d-md-inline-flex {
        display: inline-flex !important;
    }
}
@media (max-width: 767.98px) {
    .auto-state-rate-estimator .asre-cta-btn.get-popup-btn.d-md-none {
        display: inline-flex !important;
    }
}
.auto-state-rate-estimator .asre-cta-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #ffffff;
}
.auto-state-rate-estimator .asre-cta-arrow {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}
/* Footer */
.auto-state-rate-estimator .asre-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: #fafbfe;
    border-top: 1px solid #e6e8f2;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}
.auto-state-rate-estimator .asre-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #0889d6;
    border-bottom: #0889d655 1px solid;
}
.auto-state-rate-estimator .asre-state-link {
    font-weight: 600;
}
.auto-state-rate-estimator .asre-footer-link:hover {
    color: #006aa8;
}
.auto-state-rate-estimator .asre-methodology-trigger {
    border: none;
    border-bottom: 1px solid #0889d655;
    background: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}
.auto-state-rate-estimator .asre-methodology-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.auto-state-rate-estimator .asre-methodology-modal[hidden] {
    display: none !important;
}
.auto-state-rate-estimator .asre-methodology-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}
.auto-state-rate-estimator .asre-methodology-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 558px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow:
        0 10px 7.5px rgba(0, 0, 0, 0.1),
        0 4px 3px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
.auto-state-rate-estimator .asre-methodology-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}
.auto-state-rate-estimator .asre-methodology-close:hover {
    color: #0f172a;
}
.auto-state-rate-estimator .asre-methodology-title {
    margin: 0 40px 7.5px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    color: #0a0a0a;
}
.auto-state-rate-estimator .asre-methodology-intro {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #717182;
}
.auto-state-rate-estimator .asre-methodology-section {
    margin-bottom: 16px;
}
.auto-state-rate-estimator .asre-methodology-section:last-child {
    margin-bottom: 0;
}
.auto-state-rate-estimator .asre-methodology-heading {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    color: #010852;
}
.auto-state-rate-estimator .asre-methodology-text {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
    color: #5b6079;
}
.auto-state-rate-estimator .asre-methodology-text a {
    color: #0889d6;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.auto-state-rate-estimator .asre-methodology-text a:hover {
    color: #006aa8;
}
body.asre-methodology-open {
    overflow: hidden;
}
.auto-state-rate-estimator .asre-footer-arrow {
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
}
.auto-state-rate-estimator .asre-empty-msg {
    margin: 0;
    padding: 20px;
    font-size: 15px;
    line-height: 22px;
    color: #c53030;
}
/* Tablet+ */
@media (min-width: 768px) {
    .auto-state-rate-estimator .asre-savings-footnote {
        margin-bottom: 8px;
    }
    .auto-state-rate-estimator .asre-title {
        font-size: 22px;
        line-height: 27.5px;
        letter-spacing: -0.22px;
    }
    .auto-state-rate-estimator .asre-header {
        padding: 24px;
        gap: 20px;
    }
    .auto-state-rate-estimator .asre-header .asre-state-field {
        max-width: 360px;
    }
    .auto-state-rate-estimator .asre-updated-pill {
        padding: 7px 13px;
        gap: 8px;
        font-size: 14px;
        line-height: 21px;
    }
    .auto-state-rate-estimator .asre-annual-row {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 15px;
        min-height: auto;
    }
    .auto-state-rate-estimator .asre-annual-value {
        font-size: 48px;
        line-height: 48px;
    }
    .auto-state-rate-estimator .asre-annual-value-wrap {
        flex-wrap: nowrap;
        align-items: baseline;
        flex: 0 0 auto;
    }
    .auto-state-rate-estimator .asre-national-badge {
        align-self: flex-end;
        margin-left: 0;
        margin-top: 0;
    }
    .auto-state-rate-estimator .asre-cards-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .auto-state-rate-estimator .asre-stat-card-monthly {
        background: #ffffff;
    }
    .auto-state-rate-estimator .asre-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .auto-state-rate-estimator .asre-savings-message {
        font-size: 20px;
        margin: 36px 0 4px;
        line-height: 28px;
        letter-spacing: -0.1px;
    }
}
/* Desktop */
@media (min-width: 992px) {
    .auto-state-rate-estimator .asre-title {
        font-size: 22px;
        line-height: 27.5px;
        max-width: 520px;
    }
    .auto-state-rate-estimator .asre-col-primary {
        max-width: 360px;
    }
    .auto-state-rate-estimator .asre-header .asre-state-field {
        max-width: 360px;
    }
    .auto-state-rate-estimator .asre-col-primary::before {
        left: -180px;
        top: -50px;
        width: 240px;
        height: 220px;
    }
    .auto-state-rate-estimator .asre-action-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }
    .auto-state-rate-estimator .asre-savings-block {
        max-width: 560px;
        padding-bottom: 0;
    }
    .auto-state-rate-estimator .asre-cta-block {
        flex-shrink: 0;
        width: auto;
        align-self: end;
    }
    .auto-state-rate-estimator .asre-cta-form {
        width: auto;
    }
    .auto-state-rate-estimator .asre-cta-btn {
        width: auto;
        min-width: 149px;
    }
    .auto-state-rate-estimator .asre-header,
    .auto-state-rate-estimator .asre-body,
    .auto-state-rate-estimator .asre-footer {
        padding: 24px;
    }
    .auto-state-rate-estimator .asre-stat-card {
        gap: 14px;
    }
    .auto-state-rate-estimator .asre-card {
        margin: 0px 15px;
    }
}