.voucher-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.voucher-modal-container {
    display: flex;
    width: 507px;
    max-height: 97vh;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    border-radius: 16px;
    background: #1a1f2e;
    box-shadow: 0px 7px 14px 0px rgba(0, 0, 0, 0.5);
    border: 1px solid #364153;
    position: relative;
    overflow-y: auto;
    color: #fafafa;
}

.voucher-img-wrapper {
    height: 159px;
    align-self: stretch;
    background: #11111b;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.voucher-img-wrapper img {
    width: 100%;
    height: 159px;
    flex-shrink: 0;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: bottom;
       object-position: bottom;
}

/* Close button */
.voucher-close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
}

.voucher-content {
    display: flex;
    padding: 24px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.voucher-content .voucher-main-message .voucher-badge {
            max-width: -moz-fit-content;
            max-width: fit-content;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 8px;
            font-size: 24px;
            font-weight: 700;
            line-height: 1;
            padding: 12px 24px;
            border: 1px solid var(--mountain-dew);
            background: #233129;
            border-radius: 100vw;
            margin-bottom: 20px;
        }

.voucher-content .voucher-main-message .voucher-badge img {
                width: 24px;
                height: 24px;
                flex-shrink: 0;
            }

.voucher-content .voucher-main-message .voucher-badge .voucher-badge-text {
                color: var(--mountain-dew);
                font-family: "Genos", sans-serif;
            }

.voucher-content .voucher-main-message h2,
        .voucher-content .voucher-main-message .voucher-amount {
            font-family: "Genos", sans-serif;
            font-size: 32px;
            line-height: 1.1;
        }

.voucher-content .voucher-main-message .voucher-amount {
            color: var(--mountain-dew);

            font-weight: 700;
        }

.voucher-content .voucher-main-message .amount-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 12px;
        }

.voucher-content .voucher-main-message .amount-list li {
                list-style: none;
            }

.voucher-content .voucher-main-message .amount-list p {
                color: #99a1af;
                font-size: 14px;
            }

.voucher-content .voucher-main-message .amount-list p .voucher-amount {
                    color: var(--mountain-dew);
                    font-family: "Inter", sans-serif;
                    font-size: 14px;
                }

.voucher-content .voucher-form-intro {
        align-self: stretch;
        color: #fff;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%;
    }

/* Form */
.voucher-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    width: 100%;
    padding: 0px;
}
.voucher-form .voucher-input {
        padding: 12px 12px;
        border-radius: 8px;
        background: #2a3441;
        box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
        border: 1px solid #333f4c;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: white;
    }
.voucher-form .voucher-input.error {
        border-color: #e6003a;
    }
.voucher-form .voucher-newsletter-info {
        align-self: stretch;
        color: #424242;
        font-family: Inter, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
    }

.voucher-checkbox-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.voucher-checkbox-inner-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.voucher-checkbox-inner-row label {
        font-size: 14px;
    }

.voucher-checkbox-inner-row label a {
            color: var(--mountain-dew);
        }

.voucher-checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1px solid #bcc0c3;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
}

.voucher-checkbox-row input[type="checkbox"]:checked {
    background: var(--mountain-dew);
    border-color: var(--mountain-dew);
}

.voucher-checkbox-row input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.voucher-checkbox-row.error {
    border: 1px solid #e6003a;
    border-radius: 8px;
    padding: 8px;
}

.voucher-submit-btn {
    display: flex;
    padding: 8px 12px 8px 16px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 8px;
    background: var(--mountain-dew);
}

.voucher-submit-btn .submit-btn-text {
        color: #000;
        font-family: Inter, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%;
        text-align: center;
        width: 100%;
    }

.voucher-submit-btn:hover {
    background: #b8c625;
}

/* Responsive */
@media (max-width: 600px) {
    .voucher-modal-container {
        width: 90%;
        max-height: 90vh;
        gap: 24px;
    }

    .voucher-content {
        padding: 0 16px;
    }
}
