.captcha-box {
    margin: 24px 0;
    padding: 20px 24px 24px;
    background: #f5f8fb;
    border: 1px solid #dbe5ef;
    border-radius: 18px;
}

.captcha-box__legend {
    margin: 0 0 14px;
    padding: 0 10px;
    width: auto;
    border: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2d3d;
}

.captcha-box__group {
    margin-bottom: 0;
}

.captcha-box__label {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 600;
    color: #3a5168;
    white-space: normal;
}

.captcha-box__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.captcha-box__inner .h-captcha {
    display: inline-block;
    background: transparent !important;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
}

.captcha-box__inner iframe {
    display: block;
    background: transparent !important;
    max-width: 100%;
}

.captcha-box__error {
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff1f0;
    border: 1px solid #ffd4cf;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 767px) {
    .captcha-box {
        padding: 16px;
        border-radius: 14px;
    }

    .captcha-box__legend {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .captcha-box__label {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

.oneclick-box {
    padding: 20px 22px;
    background: #f5f8fb;
    border: 1px solid #dbe5ef;
    border-radius: 18px;
}

.oneclick-box__title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2d3d;
}

.oneclick-box__group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 8px;
}

.oneclick-box__input {
    width: 100%;
    min-width: 0;
    height: 52px;
    border-radius: 12px;
    margin-bottom: 0;
}

.oneclick-box__button {
    position: relative;
    width: 100%;
    height: 52px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    transition: transform .25s ease, filter .25s ease;
}

.oneclick-box__button:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.oneclick-box__button:before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.25), rgba(255,255,255,0));
    transform: skewX(-22deg);
    animation: oneclickButtonShine 4.5s ease-in-out infinite;
}

.oneclick-box__button > * {
    position: relative;
    z-index: 1;
}

.oneclick-box__help {
    margin: 10px 0 14px;
    padding: 10px 14px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #2f4a63;
    background: #eef5fb;
    border: 1px solid #d7e6f3;
    border-left: 3px solid #1e88c7;
    border-radius: 10px;
    text-align: left;
}

.oneclick-box__captcha {
    margin-top: 6px;
}

.oneclick-box__captcha fieldset,
.oneclick-box__captcha .captcha-box {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 0;
}

.oneclick-box__captcha legend,
.oneclick-box__captcha .captcha-box__legend {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    width: auto;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2d3d;
}

.oneclick-box__captcha .form-group {
    margin-bottom: 0;
}

.oneclick-box__captcha .col-sm-10,
.oneclick-box__captcha .col-sm-2 {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.oneclick-box__captcha .control-label,
.oneclick-box__captcha .captcha-box__label {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    color: #4a6178;
    white-space: normal;
}

.oneclick-box__captcha .captcha-box__inner,
.oneclick-box__captcha .col-sm-10 {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.oneclick-box__captcha .h-captcha {
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.oneclick-box__captcha iframe {
    display: block;
    max-width: 100% !important;
}

.oneclick-box__captcha .text-danger,
.oneclick-box__captcha .captcha-box__error,
.oneclick-box__captcha .alert {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.4;
    background: #fff1f0;
    border: 1px solid #ffd4cf;
}

.oneclick-inline-error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.oneclick-inline-error .close {
    flex-shrink: 0;
    margin-left: auto;
}

@keyframes oneclickButtonShine {
    0% {
        left: -130%;
    }
    55% {
        left: -130%;
    }
    100% {
        left: 150%;
    }
}

@media (max-width: 767px) {
    .oneclick-box {
        padding: 16px;
        border-radius: 14px;
    }

    .oneclick-box__title {
        font-size: 20px;
    }

    .oneclick-box__input,
    .oneclick-box__button {
        width: 100%;
    }

    .oneclick-box__captcha .control-label,
    .oneclick-box__captcha .captcha-box__label {
        font-size: 12px;
        line-height: 1.4;
    }

    .oneclick-box__captcha legend,
    .oneclick-box__captcha .captcha-box__legend {
        font-size: 15px;
    }
}