.status-page {
    --status-red: #df1722;
    --status-red-bright: #f12530;
    --status-green: #45d187;
    --status-ink: #f7f7f8;
    --status-copy: #b9bac0;
    --status-muted: #7b7d84;
    --status-line: #35373d;
    position: relative;
    min-height: 760px;
    padding-bottom: 74px;
    overflow: hidden;
    color: var(--status-ink);
    background:
        radial-gradient(ellipse at 52% 104%, rgba(173, 0, 12, .22), transparent 48%),
        radial-gradient(circle at 5% 88%, rgba(137, 0, 10, .12), transparent 27%),
        linear-gradient(145deg, #080a0c 0%, #050607 64%, #090506 100%);
}

.status-page::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(circle at center, #000, transparent 80%);
    mask-image: radial-gradient(circle at center, #000, transparent 80%);
}

.status-hero {
    position: relative;
    z-index: 1;
    margin-bottom: 0 !important;
    padding: 30px 0 28px;
    background: transparent;
}

.status-hero-inner {
    width: calc(100% - 80px);
    max-width: 1860px;
}

.status-intro {
    margin-bottom: 25px;
    text-align: left;
}

.status-intro h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(30px, 2.25vw, 42px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.status-intro > p {
    margin: 0;
    color: #c9c9cd;
    font-size: clamp(15px, 1.15vw, 21px);
    line-height: 1.45;
}

.status-query-panel {
    padding: 35px 42px;
    border: 1px solid #25282d;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25, 28, 32, .94), rgba(15, 17, 20, .94));
    box-shadow: 0 22px 65px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .025);
}

.status-query-panel form {
    display: grid;
    grid-template-columns: minmax(310px, 1.05fr) minmax(380px, 1.65fr) minmax(270px, .95fr);
    gap: 36px;
    align-items: start;
}

.status-query-panel fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.status-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 76px;
    padding: 4px;
    border: 1px solid #2a2d32;
    border-radius: 10px;
    background: #080a0c;
}

.status-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    color: #aaaab0;
    background: transparent;
    font-size: clamp(15px, 1.18vw, 22px);
    font-weight: 500;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.status-method svg {
    display: none;
}

.status-method.is-active {
    color: #fff;
    background: linear-gradient(135deg, #c90e18, #ed1e29);
    box-shadow: 0 9px 25px rgba(219, 20, 31, .22);
}

.status-field {
    position: relative;
    min-width: 0;
}

.status-input-wrap {
    position: relative;
}

.status-input-wrap .iti {
    display: block;
    width: 100%;
}

.status-input-wrap input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    height: 76px;
    margin: 0;
    padding: 0 28px 0 78px;
    border: 1px solid #2b2e33;
    border-radius: 10px;
    color: #f1f1f3;
    background: #080a0c;
    font-size: clamp(15px, 1.12vw, 21px);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.status-input-wrap input::placeholder {
    color: #9b9da3;
    opacity: 1;
}

.status-input-wrap input:focus {
    border-color: rgba(235, 29, 40, .75);
    box-shadow: 0 0 0 4px rgba(223, 23, 34, .10);
}

.status-input-icon {
    position: absolute;
    top: 50%;
    left: 27px;
    z-index: 2;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    color: #d1d2d5;
    transform: translateY(-50%);
    pointer-events: none;
}

.status-input-icon svg {
    width: 27px;
    height: 27px;
}

.status-input-wrap.is-phone .status-input-icon {
    display: none;
}

.status-input-wrap .iti--separate-dial-code input {
    padding-left: 130px !important;
}

.status-input-wrap .iti--separate-dial-code .iti__selected-flag {
    min-width: 112px;
    padding-left: 20px;
    color: #f2f2f3;
    background: #111316;
    border-right: 1px solid #292c31;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.status-input-wrap .iti--separate-dial-code .iti__selected-flag:hover,
.status-input-wrap .iti--separate-dial-code .iti__selected-flag:focus,
.status-input-wrap .iti--separate-dial-code.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background: #17191d;
}

.status-input-wrap .iti__country-list {
    max-width: min(450px, calc(100vw - 40px));
    max-height: 270px;
    color: #e7e7e9;
    border: 1px solid #34373d;
    border-radius: 10px;
    background: #121417;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .48);
}

.status-input-wrap .iti__country.iti__highlight {
    background: #24272c;
}

.status-input-wrap .iti__divider {
    border-bottom-color: #34373d;
}

.status-field-help {
    display: none;
}

.status-field-error {
    position: absolute;
    top: calc(100% + 7px);
    left: 3px;
    display: none;
    margin: 0;
    color: #ff7780;
    font-size: 11px;
    line-height: 1.4;
}

.status-field-error:not(:empty) {
    display: block;
}

.status-input-wrap.has-error input {
    border-color: var(--status-red-bright);
}

.status-method:focus-visible,
.status-submit:focus-visible,
.status-reset:focus-visible,
.status-feedback-action:focus-visible,
.status-input-wrap input:focus-visible {
    outline: 3px solid rgba(241, 37, 48, .32) !important;
    outline-offset: 3px;
}

.status-submit {
    display: flex;
    width: 100%;
    height: 76px;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #c80d18, #ed202b);
    box-shadow: 0 12px 32px rgba(213, 16, 27, .22);
    font-size: clamp(14px, 1.12vw, 21px);
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.status-submit:hover {
    filter: brightness(1.08);
    box-shadow: 0 16px 38px rgba(213, 16, 27, .31);
    transform: translateY(-1px);
}

.status-submit:disabled {
    cursor: wait;
    opacity: .78;
    transform: none;
}

.status-spinner {
    display: none;
    width: 20px;
    height: 20px;
    margin-right: 9px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: status-spin .7s linear infinite;
}

.status-submit.is-loading .status-spinner {
    display: inline-block;
}

@keyframes status-spin {
    to { transform: rotate(360deg); }
}

.status-feedback,
.status-result {
    position: relative;
    z-index: 1;
    width: calc(100% - 80px);
    max-width: 1860px;
    margin-bottom: 0 !important;
}

.status-feedback-card {
    display: grid;
    max-width: 820px;
    margin: 0 auto;
    padding: 42px;
    place-items: center;
    text-align: center;
    border: 1px solid #292c31;
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(24, 27, 31, .97), rgba(12, 14, 16, .97));
    box-shadow: 0 28px 75px rgba(0, 0, 0, .38);
}

.status-feedback-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    place-items: center;
    border: 1px solid rgba(241, 37, 48, .5);
    border-radius: 50%;
    color: #fff;
    background: rgba(223, 23, 34, .20);
}

.status-feedback-icon svg {
    width: 27px;
    height: 27px;
}

.status-feedback h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 26px;
    font-weight: 600;
}

.status-feedback p {
    max-width: 580px;
    margin: 0;
    color: var(--status-copy);
    font-size: 15px;
    line-height: 1.65;
}

.status-feedback-action {
    display: inline-flex;
    min-height: 52px;
    margin-top: 24px;
    padding: 12px 24px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fff !important;
    background: linear-gradient(135deg, #c80d18, #ed202b);
    box-shadow: 0 11px 28px rgba(213, 16, 27, .24);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    text-transform: uppercase;
}

.status-result {
    padding: 28px 30px 40px;
    border: 1px solid #292c31;
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 60%, rgba(255, 255, 255, .025), transparent 42%),
        linear-gradient(140deg, rgba(24, 27, 31, .97), rgba(12, 14, 16, .97));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .02);
}

.status-result-actions {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.status-found-badge {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 11px;
    padding: 9px 16px;
    border: 1px solid rgba(69, 209, 135, .28);
    border-radius: 9px;
    color: var(--status-green);
    background: rgba(26, 109, 68, .12);
    font-size: 15px;
    font-weight: 500;
}

.status-found-badge svg {
    width: 29px;
    height: 29px;
    padding: 5px;
    border-radius: 50%;
    color: #fff;
    background: var(--status-green);
    box-shadow: 0 0 18px rgba(69, 209, 135, .3);
}

.status-reset {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border: 0;
    color: #bebfc4;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
    transition: color .2s ease;
}

.status-reset:hover {
    color: #fff;
}

.status-reset svg {
    width: 20px;
    height: 20px;
}

.status-result-body {
    display: grid;
    grid-template-columns: minmax(320px, .8fr) minmax(540px, 1.55fr);
    gap: 0;
    align-items: stretch;
}

.status-current-overview {
    min-width: 0;
    padding: 30px 48px 22px 10px;
    text-align: left;
}

.status-greeting {
    margin: 0 0 14px;
    color: #c5c6ca;
    font-size: clamp(17px, 1.4vw, 24px);
}

.status-current-overview h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(27px, 2.1vw, 38px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.025em;
}

#current-step-description {
    max-width: 500px;
    margin: 0;
    color: #bfc0c5;
    font-size: clamp(14px, 1.13vw, 20px);
    line-height: 1.52;
}

.status-date-pill {
    display: inline-flex;
    width: fit-content;
    min-height: 46px;
    margin-top: 28px;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid #34373c;
    border-radius: 9px;
    color: #c8c9cd;
    background: rgba(255, 255, 255, .025);
    font-size: 13px;
    line-height: 1.35;
}

.status-programs-panel {
    min-width: 0;
    padding: 10px 12px 0 44px;
    border-left: 1px solid #34363b;
}

.status-programs-panel h3 {
    margin: 0;
    padding: 0 0 15px;
    color: #e7e7e9;
    border-bottom: 1px solid #303237;
    font-size: clamp(18px, 1.35vw, 25px);
    font-weight: 500;
}

.status-programs-panel h3 span,
.status-programs-panel h3 strong {
    color: #b2b3b8;
    font-weight: 500;
}

.status-programs {
    display: block;
}

.status-program {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 22px;
    min-height: 65px;
    align-items: center;
    gap: 14px;
    padding: 10px 4px;
    border-bottom: 1px solid #303237;
    color: #c8c9cd;
    background: transparent;
    font-size: clamp(14px, 1.08vw, 20px);
    line-height: 1.35;
    text-decoration: none !important;
    transition: color .2s ease, background .2s ease;
}

a.status-program:hover {
    color: #fff;
    background: rgba(255, 255, 255, .025);
}

a.status-program:focus-visible {
    outline: 2px solid rgba(241, 37, 48, .65);
    outline-offset: -2px;
}

.status-program-check {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: var(--status-red-bright);
}

.status-program-check svg,
.status-program-arrow {
    width: 24px;
    height: 24px;
}

.status-program-arrow {
    color: #bfc0c4;
    transition: color .2s ease, transform .2s ease;
}

a.status-program:hover .status-program-arrow {
    color: #fff;
    transform: translateX(3px);
}

.status-date-pill svg {
    width: 20px;
    height: 20px;
}

.status-timeline-wrap {
    margin-top: 38px;
}

.status-timeline {
    --progress-number: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-timeline::before,
.status-timeline::after {
    content: "";
    position: absolute;
    top: 28px;
    left: 12.5%;
    height: 3px;
}

.status-timeline::before {
    right: 12.5%;
    background: #3a3c41;
}

.status-timeline::after {
    width: calc(75% * var(--progress-number));
    max-width: 75%;
    background: linear-gradient(90deg, #d60e19, #f02732);
    box-shadow: 0 0 15px rgba(231, 24, 35, .25);
    transition: width .45s ease;
}

.status-step {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 0 12px;
    text-align: center;
}

.status-step-marker {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    place-items: center;
    border: 3px solid #383a40;
    border-radius: 50%;
    color: #777a81;
    background: #26282d;
}

.status-step-marker svg {
    width: 25px;
    height: 25px;
}

.status-step.is-completed .status-step-marker {
    border-color: #dc111c;
    color: #fff;
    background: linear-gradient(135deg, #c80d18, #ed202b);
    box-shadow: 0 0 24px rgba(223, 23, 34, .23);
}

.status-step.is-current .status-step-marker {
    border-color: #ef2631;
    color: #ef2631;
    background: #101216;
    box-shadow: 0 0 20px rgba(239, 38, 49, .18);
}

.status-step h3 {
    min-height: 42px;
    margin: 0 0 3px;
    color: #efeff1;
    font-size: clamp(13px, 1.02vw, 18px);
    font-weight: 500;
    line-height: 1.35;
}

.status-step.is-upcoming h3 {
    color: #d3d3d6;
}

.status-step-state {
    display: block;
    color: #96989e;
    font-size: clamp(12px, .93vw, 17px);
    line-height: 1.4;
}

.status-step.is-current .status-step-state {
    color: var(--status-red-bright);
}

@media (max-width: 1199px) {
    .status-query-panel form {
        grid-template-columns: 280px minmax(300px, 1fr) 250px;
        gap: 18px;
    }

    .status-result,
    .status-feedback {
        width: calc(100% - 80px);
    }
}

@media (max-width: 991px) {
    .status-hero-inner {
        width: calc(100% - 48px);
    }

    .status-query-panel {
        padding: 26px;
    }

    .status-query-panel form {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .status-query-panel fieldset {
        grid-column: 1 / -1;
    }

    .status-methods {
        height: 64px;
    }

    .status-input-wrap input:not([type="checkbox"]):not([type="radio"]),
    .status-submit {
        height: 64px;
    }

    .status-result,
    .status-feedback {
        width: calc(100% - 48px);
    }

    .status-result-body {
        grid-template-columns: 1fr;
    }

    .status-current-overview {
        padding: 20px 8px 30px;
    }

    .status-programs-panel {
        padding: 28px 8px 0;
        border-top: 1px solid #34363b;
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .status-page {
        padding-bottom: 50px;
    }

    .status-hero {
        padding: 34px 0 26px;
    }

    .status-hero-inner,
    .status-result,
    .status-feedback {
        width: calc(100% - 28px);
    }

    .status-intro {
        margin-bottom: 23px;
    }

    .status-intro h1 {
        margin-bottom: 9px;
        font-size: 33px;
    }

    .status-intro > p {
        max-width: none;
        font-size: 14px;
    }

    .status-query-panel {
        padding: 17px;
        border-radius: 14px;
    }

    .status-query-panel form {
        display: block;
    }

    .status-methods {
        height: 56px;
        margin-bottom: 12px;
    }

    .status-method {
        font-size: 14px;
    }

    .status-input-wrap input:not([type="checkbox"]):not([type="radio"]) {
        height: 58px;
        padding-left: 55px;
        font-size: 14px;
    }

    .status-input-icon {
        left: 18px;
        width: 22px;
        height: 22px;
    }

    .status-input-icon svg {
        width: 22px;
        height: 22px;
    }

    .status-submit {
        height: 58px;
        margin-top: 12px;
        font-size: 14px;
    }

    .status-field-error {
        position: static;
        margin: 7px 2px 0;
    }

    .status-result {
        padding: 20px 18px 24px;
        border-radius: 15px;
    }

    .status-result-actions {
        align-items: flex-start;
    }

    .status-found-badge {
        min-height: 42px;
        padding: 7px 11px;
        font-size: 12px;
    }

    .status-found-badge svg {
        width: 24px;
        height: 24px;
    }

    .status-reset {
        max-width: 135px;
        justify-content: flex-end;
        text-align: right;
        font-size: 11px;
        line-height: 1.4;
    }

    .status-reset svg {
        flex: 0 0 17px;
        width: 17px;
        height: 17px;
    }

    .status-current-overview {
        padding: 16px 0 25px;
    }

    .status-greeting {
        font-size: 16px;
    }

    .status-current-overview h2 {
        margin-bottom: 7px;
        font-size: 25px;
    }

    #current-step-description {
        font-size: 13px;
    }

    .status-date-pill {
        min-height: 42px;
        margin-top: 20px;
        padding: 9px 13px;
        font-size: 11px;
    }

    .status-programs-panel {
        padding: 24px 0 0;
    }

    .status-programs-panel h3 {
        padding-bottom: 12px;
        font-size: 17px;
    }

    .status-program {
        grid-template-columns: 25px minmax(0, 1fr) 19px;
        min-height: 56px;
        gap: 10px;
        font-size: 12px;
    }

    .status-program-check,
    .status-program-check svg,
    .status-program-arrow {
        width: 20px;
        height: 20px;
    }

    .status-timeline-wrap {
        margin-top: 28px;
    }

    .status-timeline {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .status-timeline::before,
    .status-timeline::after {
        top: 25px;
        left: 25px;
        width: 3px;
        height: calc(100% - 54px);
    }

    .status-timeline::before {
        right: auto;
    }

    .status-timeline::after {
        width: 3px;
        height: calc((100% - 54px) * var(--progress-number));
        max-width: 3px;
        max-height: calc(100% - 54px);
        background: linear-gradient(180deg, #d60e19, #f02732);
    }

    .status-step {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr);
        min-height: 92px;
        column-gap: 16px;
        align-content: start;
        padding: 0;
        text-align: left;
    }

    .status-step:last-child {
        min-height: 58px;
    }

    .status-step-marker {
        grid-row: 1 / span 2;
        width: 50px;
        height: 50px;
        margin: 0;
    }

    .status-step-marker svg {
        width: 21px;
        height: 21px;
    }

    .status-step h3 {
        min-height: 0;
        margin: 3px 0 1px;
        font-size: 14px;
    }

    .status-step-state {
        font-size: 12px;
    }

    .status-feedback-card {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .status-feedback h2 {
        font-size: 23px;
    }
}

@media (max-width: 390px) {
    .status-intro h1 {
        font-size: 30px;
    }

    .status-result-actions {
        display: grid;
    }

    .status-reset {
        max-width: none;
        justify-content: flex-start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .status-method,
    .status-submit,
    .status-reset,
    .status-timeline::after {
        transition: none;
    }

    .status-spinner {
        animation-duration: 1.4s;
    }
}
