[data-modal-id="benefit-discount"] .c-modal,
[data-modal-id="contact-success"] .c-modal {
    width: min(100%, 464px);
    margin: 0 auto;
    color: #fff;
}

.content-benefit-discount__panel[hidden] {
    display: none;
}

.content-benefit-discount__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-benefit-discount__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.content-benefit-discount__icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.content-benefit-discount__title,
.content-benefit-discount__success-title {
    margin: 0 0 14px;
    text-align: center;
}

.content-benefit-discount__success-text {
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 1);
}

.content-benefit-discount__success-progress {
    position: relative;
    width: min(100%, 309px);
    height: 3px;
    margin: 24px auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.content-benefit-discount__success-progress-bar {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 8px rgba(226, 238, 255, 0.8);
    transform: scaleX(0);
    transform-origin: left center;
}

.content-benefit-discount__success-progress-bar.is-active {
    animation: benefitDiscountSuccessProgress 3s linear forwards;
}

@keyframes benefitDiscountSuccessProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.content-benefit-discount__form {
    display: grid;
    gap: 14px;
    margin: 0 auto;
    max-width: 309px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.content-benefit-discount__field {
    display: grid;
    gap: 4px;
}

.content-benefit-discount__label {
    margin: 0;
}

.content-benefit-discount__label.is-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.content-benefit-discount__control {
    position: relative;
}

.content-benefit-discount__input {
    width: 100%;
    min-height: 50px;
    padding: 14px 52px 14px 14px;
    border-radius: 10px;
    color: #fff;
    outline: none;
    background: transparent;
    border: 1px solid rgb(255 255 255 / .28);
    font-size: 16px;
}

.content-benefit-discount__input::placeholder {
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
}

.content-benefit-discount__input:focus {
    border-color: rgb(255 255 255 / .28);
    background: transparent;
}

.content-benefit-discount__clear,
.content-benefit-discount__alert {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.content-benefit-discount__clear {
    right: 16px;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(236, 236, 236, .2);
    border-radius: 50%;
    border: none;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
}

.content-benefit-discount__field.has-value .content-benefit-discount__clear {
    display: inline-flex;
}

.content-benefit-discount__clear::before,
.content-benefit-discount__clear::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 1px;
    background: currentColor;
}

.content-benefit-discount__clear::before {
    transform: rotate(45deg);
}

.content-benefit-discount__clear::after {
    transform: rotate(-45deg);
}

.content-benefit-discount__alert {
    right: 16px;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #ff5b5b;
    border-radius: 50%;
    color: #ff5b5b;
}

.content-benefit-discount__field.is-invalid .content-benefit-discount__input {
    border-color: #ff5b5b;
}

.content-benefit-discount__field.is-invalid .content-benefit-discount__alert {
    display: inline-flex;
}

.content-benefit-discount__field.is-invalid.has-value .content-benefit-discount__clear {
    right: 44px;
}

.content-benefit-discount__error {
    margin: 0;
    color: #fff;
}

.content-benefit-discount__notice {
    color: #fff;
}

.content-benefit-discount__submit-error {
    margin: 0;
    color: #ff7b86;
}

.content-benefit-discount__submit {
    --glow: 227 219 255;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-shadow:
        0 0 6px rgb(var(--glow) / .68),
        0 0 12px rgb(var(--glow) / .46),
        0 0 18px rgb(var(--glow) / .28),
        0 0 24px rgb(var(--glow) / .18),
        0 0 28px rgb(var(--glow) / .1);
    box-shadow:
        rgba(255, 255, 255, 0.5) 0 0 3px inset,
        rgba(229, 246, 255, 0.3) 0 0 6px inset,
        rgb(255, 255, 255) 0 0 2px,
        rgba(255, 255, 255, 0.88) 0 0 4px,
        rgba(229, 246, 255, 0.72) 0 0 8px,
        rgba(229, 246, 255, 0.4) 0 0 12px,
        rgba(229, 246, 255, 0.24) 0 0 18px,
        rgba(229, 246, 255, 0.14) 0 0 24px,
        rgba(229, 246, 255, 0.08) 0 0 28px;
    text-transform: uppercase;
    height: 47px;
    width: 100%;
    max-width: 309px;
    margin: 0 auto;
    cursor: pointer;

}

@media (min-width: 768px) {
    .content-benefit-discount__submit {
        text-shadow: 0 0 10px rgb(var(--glow) / .70), 0 0 28px rgb(var(--glow) / .48), 0 0 65px rgb(var(--glow) / .32), 0 0 120px rgb(var(--glow) / .20), 0 0 180px rgb(var(--glow) / .12);
        box-shadow: rgba(255, 255, 255, 0.5) 0 0 3px inset, rgba(229, 246, 255, 0.3) 0 0 6px inset, rgb(255, 255, 255) 0 0 2px, rgba(255, 255, 255, 0.9) 0 0 4px, rgba(229, 246, 255, 0.8) 0 0 8px, rgba(229, 246, 255, 0.5) 0 0 15px, rgba(229, 246, 255, 0.35) 0 0 25px, rgba(229, 246, 255, 0.2) 0 0 45px, rgba(229, 246, 255, 0.1) 0 0 80px;
    }
}

.content-benefit-discount__policy {
    margin: 4px auto 0;
    max-width: 309px;
    color: #fff;
    text-align: center;
}

.content-benefit-discount__policy-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

