.voucher-test-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(231, 76, 60, 0.65);
    border-radius: 4px;
    color: #fff;
    background: rgba(231, 76, 60, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.voucher-section {
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 32px 32px;
}

.voucher-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.voucher-preview {
    position: sticky;
    top: 110px;
}

.voucher-preview img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(224, 169, 62, 0.48);
    border-radius: 6px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.voucher-terms {
    margin-top: 26px;
    padding-left: 18px;
    border-left: 3px solid #e0a93e;
}

.voucher-terms h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.25rem;
}

.voucher-terms p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.voucher-form-wrapper {
    width: 100%;
}

.voucher-amount-fieldset {
    min-width: 0;
    padding: 0;
    border: 0;
}

.voucher-amounts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.voucher-amount {
    display: grid;
    grid-template-columns: 1fr 64px;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.035);
}

.voucher-amount input {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 3px;
    color: #fff;
    background: rgba(0, 0, 0, 0.28);
    text-align: center;
}

.voucher-amount span {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.voucher-amount:focus-within {
    border-color: #e0a93e;
    background: rgba(224, 169, 62, 0.16);
}

.voucher-amount input:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.voucher-amount-total {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.78);
    text-align: right;
}

.voucher-amount-total strong {
    color: #e0a93e;
    font-size: 1.15rem;
}

.voucher-form .form-message:empty {
    display: none;
}

.voucher-form .form-message {
    margin-bottom: 18px;
}

@media (max-width: 980px) {
    .voucher-layout {
        grid-template-columns: 1fr;
    }

    .voucher-preview {
        position: static;
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .voucher-layout {
        gap: 30px;
    }

    .voucher-amounts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .voucher-amount span {
        font-size: 0.88rem;
    }
}