.nb-redeem {
    min-height: 78vh;
    background: #f5f6f8;
}

.nb-redeem__hero {
    padding: 42px 0 28px;
}

.nb-redeem__crumb {
    margin-bottom: 24px;
    color: #667085;
}

.nb-redeem__heading {
    align-items: flex-end;
}

.nb-redeem__heading h1 {
    margin: 13px 0 7px;
    color: #101828;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nb-redeem__heading p {
    color: #7b8495;
    font-size: 14px;
}

.nb-redeem__eyebrow {
    padding: 5px 11px;
    border-color: #d8dde7;
    background: #fff;
    color: #5c6678;
}

.nb-redeem__eyebrow i {
    color: #3b82f6;
}

.nb-redeem__restart {
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: none;
}

.nb-redeem__layout {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 24px;
    padding-bottom: 72px;
}

.nb-redeem__steps {
    gap: 20px;
}

.nb-redeem-card,
.nb-redeem-sidecard {
    border: 1px solid #e2e6ec;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(16, 24, 40, 0.045);
}

.nb-redeem-card {
    padding: 24px;
    opacity: 1;
}

.nb-redeem-card[aria-disabled="true"] {
    opacity: 0.8;
}

.nb-redeem-card.is-active {
    border-color: #e2e6ec;
}

.nb-redeem-card__head {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
}

.nb-redeem-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #eaf4ff;
    color: #3b82f6;
}

.nb-redeem-card__head h2,
.nb-redeem-sidecard h2 {
    color: #101828;
    font-size: 18px;
    font-weight: 800;
}

.nb-redeem-card__head p,
.nb-redeem-sidecard p {
    color: #7b8495;
}

.nb-redeem-card__badge {
    border-color: #d7e6f8;
    background: #eef7ff;
    color: #2583d9;
}

.nb-redeem-card[aria-disabled="true"] .nb-redeem-card__badge {
    border-color: #e2e5e9;
    background: #f4f5f7;
    color: #8b919d;
}

.nb-redeem-card__form {
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 12px;
    margin-top: 20px;
}

.nb-redeem-card input,
.nb-redeem-sidecard input {
    height: 48px;
    border-color: #dfe3e9;
    border-radius: 12px;
    background: #fff;
}

.nb-redeem-card__form button {
    background: #79b6ee;
}

.nb-redeem-account {
    margin-top: 20px;
}

.nb-redeem-account__guide {
    grid-template-columns: 32px minmax(0, 1fr);
    margin-bottom: 14px;
    padding: 20px 18px;
    border: 1px solid #e2e5ea;
    border-left: 4px solid #3b9cff;
    border-radius: 12px;
    background: #f8f9fb;
}

.nb-redeem-account__help {
    background: transparent;
    color: #3b9cff;
}

.nb-redeem-account__guide h3 {
    color: #344054;
    font-size: 15px;
    font-weight: 800;
}

.nb-redeem-account__guide p {
    margin-bottom: 8px;
    color: #8a93a3;
}

.nb-redeem-account__guide a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #258be7;
    font-size: 13px;
    font-weight: 700;
}

.nb-redeem-account textarea {
    min-height: 260px;
    border-color: #e1e4e9;
    border-radius: 12px;
    background: #fff;
    color: #667085;
}

.nb-redeem-account textarea:disabled {
    background: #fff;
    color: #a2a9b5;
    cursor: not-allowed;
}

.nb-redeem-account__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.nb-redeem-account__actions p {
    margin: 0 auto 0 0;
    color: #8a93a3;
    font-size: 12px;
}

.nb-redeem-account__actions button {
    min-height: 42px;
    padding: 0 16px;
}

.nb-redeem-account__actions .nb-redeem-account__clear {
    border: 0;
    background: transparent;
    color: #7b8495;
    box-shadow: none;
}

.nb-redeem-account__actions .nb-redeem-account__clear:hover {
    color: #344054;
}

.nb-redeem-account__actions button[data-redeem-account-check] {
    background: #79b6ee;
}

.nb-redeem-account__actions button:disabled {
    background: #dbe7f3;
    color: #fff;
}

.nb-redeem-account__actions .nb-redeem-account__clear:disabled {
    background: transparent;
    color: #b2b8c2;
}

.nb-redeem-submit-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    background: #fff;
}

.nb-redeem-submit-summary span {
    display: block;
    margin-bottom: 6px;
    color: #8a93a3;
    font-size: 12px;
}

.nb-redeem-submit-summary strong {
    display: block;
    overflow-wrap: anywhere;
    color: #344054;
    font-size: 13px;
    font-weight: 500;
}

.nb-redeem-submit-summary > div:first-child strong {
    font-family: Consolas, Monaco, monospace;
}

.nb-redeem-submit-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.nb-redeem-submit-action button {
    min-height: 42px;
    padding: 0 24px;
    background: #79b6ee;
}

.nb-redeem-submit-action button:disabled {
    background: #dbe7f3;
    color: #fff;
    cursor: not-allowed;
}

.nb-redeem-sidecard {
    padding: 24px;
}

.nb-redeem-sidecard form {
    gap: 12px;
}

.nb-redeem-sidecard button:disabled {
    background: #f4f5f7;
    color: #a6acb7;
    cursor: not-allowed;
    opacity: 1;
}

.nb-redeem-sidecard form button {
    border: 1px solid #dfe3e9;
    background: #fff;
    color: #344054;
}

.nb-redeem-sidecard__terms {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #efcf9b;
    border-radius: 12px;
    background: #fff8eb;
    color: #5f4a31;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .nb-redeem__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nb-redeem__hero {
        padding-top: 24px;
    }

    .nb-redeem__heading h1 {
        font-size: 27px;
    }

    .nb-redeem-card {
        padding: 18px;
    }

    .nb-redeem-card__head {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .nb-redeem-card__badge {
        grid-column: 2;
    }

    .nb-redeem-card__form {
        grid-template-columns: 1fr;
    }

    .nb-redeem-account textarea {
        min-height: 220px;
    }

    .nb-redeem-account__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .nb-redeem-account__actions p {
        margin-right: 0;
    }

    .nb-redeem-account__actions button {
        width: 100%;
    }

    .nb-redeem-submit-summary {
        grid-template-columns: 1fr;
    }

    .nb-redeem-submit-action button {
        width: 100%;
    }
}
