/* =========================================================
       Modern Premium Override (Alabama State Page)
       CSS-only redesign, no HTML/ID/class/function changes
    ========================================================= */
:root {
    --brand-green: #2bb44a;
    --brand-blue: #052633;
    --brand-grey: #f5f7fa;
    --brand-white: #ffffff;
    --text-muted: #37515c;
}

body {
    background:
        radial-gradient(
            900px circle at 12% 8%,
            rgba(43, 180, 74, 0.12),
            rgba(43, 180, 74, 0) 58%
        ),
        radial-gradient(
            900px circle at 90% 10%,
            rgba(5, 38, 51, 0.1),
            rgba(5, 38, 51, 0) 60%
        ),
        var(--brand-grey) !important;
    color: var(--brand-blue);
}

/* .whole-nav-container-with-lang {
        background: linear-gradient(90deg, #052633 0%, #083346 48%, #0a3b4f 100%) !important;
    } */

.StatevinCheck .container,
.state-title .container,
.state-Resource .container,
.state-accidents-disaters .container,
.AlaskaStateMap .container,
.StateIdeaVinCheck .container,
.other-Resource .container {
    background: var(--brand-white);
    border: 1px solid rgba(5, 38, 51, 0.1);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(5, 38, 51, 0.1);
    padding: clamp(18px, 2.8vw, 36px);
}

.StateArizonaVinCheck .container,
.Arizona-tile .container,
.Arizona-state-Resource .container,
.Arizona-accidents-disaters .container,
.albamaStateMap .container,
.ArizonaStateVinCheck .container,
.other-Resource .container {
    background: var(--brand-white);
    border: 1px solid rgba(5, 38, 51, 0.1);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(5, 38, 51, 0.1);
    padding: clamp(18px, 2.8vw, 36px);
}

.StateArizonaVinCheck h1 {
    font-size: clamp(1.8rem, 3vw, 2rem);
    line-height: 1.18;
    letter-spacing: -0.3px;
}

.StatevinCheck h1 {
    font-size: clamp(1.8rem, 3vw, 2rem);
    line-height: 1.18;
    letter-spacing: -0.3px;
}

.StatevinCheck .clicked p,
.StatevinCheck .clickedFirst p,
.state-title p,
.state-Resource p,
.state-accidents-disaters p,
.AlaskaStateMap p,
.StateIdeaVinCheck p,
.checkVinToday p,
.other-Resource li {
    color: var(--text-muted) !important;
    line-height: 1.7;
}

.StateArizonaVinCheck .clicked p,
.StateArizonaVinCheck .clickedFirst p,
.Arizona-tile p,
.Arizona-state-Resource p,
.Arizona-accidents-disaters p,
.ArizonaStateVinCheck p,
.other-Resource p,
.checkVinToday p,
.ArizonaStateVinCheck li,
.otherResourceList li {
    color: var(--text-muted) !important;
    line-height: 1.7;
}

/* Hero lookup card + tabs */
.LookupForm .foremClass {
    background: var(--brand-white) !important;
    border: 1px solid rgba(5, 38, 51, 0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 44px rgba(5, 38, 51, 0.12) !important;
    height: auto !important;
    min-height: 240px;
}

.two-card-container .first-card,
.two-card-container .second-card {
    border: 1px solid rgba(5, 38, 51, 0.14) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 8px 18px rgba(5, 38, 51, 0.08);
}

.two-card-container .first-card.clicked {
    background: rgba(43, 180, 74, 0.12) !important;
    border-color: rgba(43, 180, 74, 0.52) !important;
}

.two-card-container .second-card.clickedFirst {
    background: rgba(43, 180, 74, 0.12) !important;
    border-color: rgba(43, 180, 74, 0.52) !important;
}

#checkVinFrm .input-group {
    background: #fff;
    border: 1px solid rgba(5, 38, 51, 0.15);
    border-radius: 14px;
    padding: 4px 8px;
    box-shadow: 0 10px 24px rgba(5, 38, 51, 0.08);
}

#checkVinFrm .input-group .input-group-text {
    background: transparent;
    border: none;
}

#checkVinFrm .vin {
    color: var(--brand-blue) !important;
}

#submitFrm,
.submiteCheckVN {
    background: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    padding: 10px 32px !important;
    box-shadow: 0 12px 24px rgba(43, 180, 74, 0.2);
}

/* Section-specific distinct looks */

.state-title .container {
    border-left: 8px solid var(--brand-green);
    background: linear-gradient(180deg, rgba(245, 247, 250, 0.95), #fff);
}

.Arizona-tile .container {
    border-left: 8px solid var(--brand-green);
    background: linear-gradient(180deg, rgba(245, 247, 250, 0.95), #fff);
}

.state-Resource .container {
    background: linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
}

.Arizona-state-Resource .container {
    background: linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
}

.state-accidents-disaters .container {
    /* background: linear-gradient(180deg, rgba(5, 38, 51, 0.96), rgba(8, 51, 70, 0.96)); */
    border-color: rgba(255, 255, 255, 0.18);
}
.Arizona-accidents-disaters .container {
    /* background: linear-gradient(180deg, rgba(5, 38, 51, 0.96), rgba(8, 51, 70, 0.96)); */
    border-color: rgba(255, 255, 255, 0.18);
}

.state-accidents-disaters h2,
.state-accidents-disaters p,
.state-accidents-disaters li {
    color: #000 !important;
}

.Arizona-accidents-disaters h2,
.Arizona-accidents-disaters p,
.Arizona-accidents-disaters li {
    color: #000 !important;
}

.state-accidents-disaters .accordion-item {
    /* border: 1px solid rgba(255, 255, 255, 0.26); */
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.state-accidents-disaters .accordion-button {
    background: rgba(255, 255, 255, 0.12);
    color: #000;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.state-accidents-disaters .accordion-button:not(.collapsed) {
    background: rgba(43, 180, 74, 0.24);
    color: #000;
}

.Arizona-accidents-disaters .accordion-item {
    /* border: 1px solid rgba(255, 255, 255, 0.26); */
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.Arizona-accidents-disaters .accordion-button {
    background: rgba(255, 255, 255, 0.12);
    color: #000;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.Arizona-accidents-disaters .accordion-button:not(.collapsed) {
    background: rgba(43, 180, 74, 0.24);
    color: #000;
}

.AlaskaStateMap .container {
    background: #052633;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 48px rgba(5, 38, 51, 0.25);
}

.albamaStateMap .container {
    background: #052633;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 48px rgba(5, 38, 51, 0.25);
}

.AlaskaStateMap img {
    border-radius: 16px;
    background: #fff;
    padding: 10px;
}
.albamaStateMap img {
    border-radius: 16px;
    background: #fff;
    padding: 10px;
}

.ArizonaStateVinCheck .container {
    background: #fff;
    border-top: 6px solid #2bb44a;
}

.other-Resource .container {
    background: linear-gradient(180deg, #f5f7fa, #ffffff);
}

.other-Resource li a {
    color: var(--brand-blue) !important;
    text-decoration: underline;
    text-decoration-color: rgba(43, 180, 74, 0.45);
    text-underline-offset: 4px;
}

.otherResourceList li a {
    color: var(--brand-blue) !important;
    text-decoration: underline;
    text-decoration-color: rgba(43, 180, 74, 0.45);
    text-underline-offset: 4px;
}

.checkVinToday .container {
    background: linear-gradient(
        135deg,
        rgba(43, 180, 74, 0.15),
        #fff 35%,
        #f5f7fa 100%
    );
    border: 1px solid rgba(43, 180, 74, 0.32);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(5, 38, 51, 0.1);
}

.checkVinToday h2 {
    color: #052633;
}

.checkVinToday img {
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(5, 38, 51, 0.12);
}

/* Footer align to premium theme */
.policy-container {
    background: #052633 !important;
}

.footer-item.active a {
    color: #2bb44a !important;
}

/* Responsive polish */
@media (max-width: 768px) {
    .StateArizonaVinCheck .container,
    .Arizona-tile .container,
    .Arizona-state-Resource .container,
    .Arizona-accidents-disaters .container,
    .albamaStateMap .container,
    .ArizonaStateVinCheck .container,
    .other-Resource .container,
    .checkVinToday .container {
        border-radius: 16px;
        padding: 16px 14px;
    }

    .StatevinCheck .container,
    .state-title .container,
    .state-Resource .container,
    .state-accidents-disaters .container,
    .AlaskaStateMap .container,
    .StateIdeaVinCheck .container,
    .other-Resource .container {
        border-radius: 16px;
        padding: 16px 14px;
    }

    .LookupForm .foremClass {
        min-height: auto;
    }

    .stateImg {
        position: static !important;
        margin-top: 14px;
        text-align: center;
    }

    .stateImg img {
        max-width: 72%;
        margin: 0 auto;
    }

    #checkVinFrm .input-group {
        flex-wrap: nowrap !important;
    }

    #submitFrm,
    .submiteCheckVN {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .usaStateVinCheck-info {
        margin-top: 70px !important;
    }

    .StateArizonaVinCheck h1 {
        font-size: 1.2rem;
    }
    .StatevinCheck h1 {
        font-size: 1.2rem;
    }

    .foremClass p {
        font-size: 11px;
    }
}
