.account-shell {
    width: min(var(--page-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 46px 0 64px;
}

.account-shell::before {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-bottom: 22px;
    background: var(--red);
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: stretch;
}

.account-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

.account-page-header h1 {
    margin: 5px 0 0;
    font-family: "Bahnschrift Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(38px, 5vw, 60px);
    line-height: .96;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.account-signout-form {
    flex: 0 0 auto;
}

.account-section-heading {
    margin: 38px 0 18px;
}

.account-section-heading h2 {
    margin: 5px 0 0;
    font-family: "Bahnschrift Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 30px;
    text-transform: uppercase;
}

.account-provider-grid {
    margin-top: 0;
}

.account-card {
    position: relative;
    overflow: hidden;
    padding: 30px 32px;
    border: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(255,255,255,.025), transparent 42%),
        linear-gradient(180deg, #121212 0%, #0b0b0b 100%);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.account-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--red), rgba(242, 13, 24, 0));
}

.account-card h1,
.account-card h2,
.account-card h3 {
    margin: 0;
    font-family: "Bahnschrift Condensed", "Arial Narrow", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.account-card h1 {
    margin-top: 5px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: .98;
}

.account-card h2 {
    margin-top: 5px;
    font-size: 30px;
}

.account-card h3 {
    margin: 26px 0 12px;
    font-size: 18px;
    color: #d7d7d7;
}

.account-eyebrow {
    margin: 0;
    color: var(--red);
    font-family: "Bahnschrift Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.account-copy {
    max-width: 760px;
    margin: 16px 0 0;
    color: #bcbcbc;
    font-size: 15px;
    line-height: 1.65;
}

.account-copy strong {
    color: var(--white);
}

.account-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 26px 0 0;
    border: 1px solid #262626;
    background: #262626;
}

.account-details > div {
    min-width: 0;
    padding: 18px 20px;
    background: #0b0b0b;
}

.account-details dt {
    margin-bottom: 7px;
    color: #777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.account-details dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #ededed;
    font-size: 15px;
}

.account-badge {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    margin-left: 8px;
    padding: 3px 8px 2px;
    border: 1px solid #4a4a4a;
    background: #191919;
    color: #d0d0d0;
    font-family: "Bahnschrift Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.account-badge.verified {
    border-color: rgba(242, 13, 24, .65);
    background: rgba(242, 13, 24, .10);
    color: #fff;
}

.account-form {
    display: grid;
    gap: 9px;
    margin-top: 24px;
}

.account-form label {
    margin-top: 8px;
    color: #dcdcdc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.account-form input,
.account-form select,
.account-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #373737;
    border-radius: 0;
    outline: none;
    background: #080808;
    color: var(--white);
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(242, 13, 24, .12);
}

.account-form small,
.account-footnote {
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

.account-form ul,
.account-form .errorlist {
    margin: 4px 0 0;
    padding-left: 18px;
    color: #ff7178;
    font-size: 12px;
    line-height: 1.45;
}

.account-button {
    min-height: 46px;
    margin-top: 12px;
    padding: 0 22px;
    border: 1px solid var(--red);
    border-radius: 0;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    font-family: "Bahnschrift Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.account-button:hover {
    border-color: #ff3039;
    background: #ff202b;
    transform: translateY(-1px);
}

.account-button-secondary {
    margin-top: 0;
    border-color: #4a4a4a;
    background: #111;
    color: #ddd;
}

.account-button-secondary:hover {
    border-color: var(--red);
    background: #171717;
    color: #fff;
}

.account-messages {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.account-message {
    padding: 13px 16px;
    border: 1px solid #363636;
    border-left: 3px solid var(--red);
    background: #111;
    color: #ddd;
    font-size: 13px;
}

.account-message.success {
    border-left-color: #7bc47f;
}

.account-results {
    margin-top: 22px;
}

.result-table-wrap {
    margin-top: 22px;
    overflow-x: auto;
    border: 1px solid #272727;
}

.result-table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
    background: #090909;
}

.result-table th,
.result-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #242424;
    text-align: left;
    vertical-align: middle;
}

.result-table th {
    background: #151515;
    color: #9c9c9c;
    font-family: "Bahnschrift Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.result-table td {
    color: #ddd;
    font-size: 13px;
}

.result-table tbody tr:hover {
    background: #101010;
}

.claim-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.claim-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid #2c2c2c;
    background: #090909;
    font-size: 13px;
}

.account-footnote {
    margin: 18px 0 0;
}

.account-footnote a {
    color: var(--red);
    font-weight: 800;
}

.account-card-narrow {
    width: min(580px, 100%);
    margin: 18px auto 0;
}

.account-card-narrow::before {
    content: "TER / DRIVER ACCESS";
    display: block;
    margin: -30px -32px 28px;
    padding: 12px 32px;
    border-bottom: 1px solid #292929;
    background: #090909;
    color: #696969;
    font-family: "Bahnschrift Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

@media (max-width: 900px) {
    .account-shell {
        width: min(100% - 28px, var(--page-width));
        padding: 28px 0 44px;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-card {
        padding: 24px 22px;
    }

    .account-card-narrow::before {
        margin: -24px -22px 24px;
        padding: 11px 22px;
    }

    .account-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .account-shell {
        width: calc(100% - 20px);
        padding-top: 20px;
    }

    .account-card h1 {
        font-size: 34px;
    }

    .account-card h2 {
        font-size: 25px;
    }
}
