error-handler-message {
    display: block;
    margin-top: 9px !important;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgb(220 38 38 / 7%);
    color: var(--negative);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
    text-align: start;
}

.-ajax-input-label + .-yourcolor-form-alerts {
    margin: 10px 0 8px !important;
}

.-yourcolor-form-alerts {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 20px !important;
    padding: 15px 18px;
    border: 1px solid transparent;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 700;
    will-change: transform;
    box-shadow: 0 12px 30px rgb(0 0 0 / 5%);
}

.-yourcolor-form-alerts::before {
    content: "";
    position: absolute;
    inset-block: 14px;
    inset-inline-start: 0;
    width: 4px;
    border-radius: 999px;
    background: currentColor;
    opacity: .85;
}

.-yourcolor-form-alerts.incenter {
    display: flex;
    align-items: center;
    gap: 13px;
}

.-yourcolor-form-alerts.incenter > i {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    background: rgb(255 255 255 / 72%);
    box-shadow: 0 10px 24px rgb(0 0 0 / 5%);
}

.-yourcolor-form-alerts.alert-danger {
    border-color: rgb(220 38 38 / 10%);
    background:
        radial-gradient(circle at 0 0, rgb(220 38 38 / 7%) 0, transparent 34%),
        linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
    color: var(--negative);
}

.-yourcolor-form-alerts.alert-success {
    border-color: rgb(49 162 76 / 12%);
    background:
        radial-gradient(circle at 0 0, rgb(49 162 76 / 8%) 0, transparent 34%),
        linear-gradient(180deg, #f7fff9 0%, #ffffff 100%);
    color: var(--positive);
}

.-yourcolor-form-alerts > h5 {
    margin: 0;
    color: inherit;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 900;
}

.-yourcolor-form-alerts p {
    margin: 4px 0 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.7;
    opacity: .86;
}

.yc-form-popup-notice {
    position: fixed;
    inset-inline: 20px;
    inset-block-end: 28px;
    z-index: 999999999;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(.98);
    transition: opacity 240ms ease, transform 240ms ease;
}

.yc-form-popup-notice.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.yc-form-popup-notice__box {
    position: relative;
    width: min(430px, 100%);
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    padding: 18px 18px 19px 17px;
    border: 1px solid rgb(255 255 255 / 58%);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgb(18 183 106 / 10%) 0, transparent 36%),
        linear-gradient(180deg, rgb(255 255 255 / 96%) 0%, #ffffff 100%);
    box-shadow: 0 22px 70px rgb(15 23 42 / 22%);
    backdrop-filter: blur(14px);
    pointer-events: auto;
}

.yc-form-popup-notice__close {
    width: 34px;
    min-width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgb(0 0 0 / 5%);
    color: var(--secondarytext);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.yc-form-popup-notice__close:hover {
    color: #000000;
    background: rgb(0 0 0 / 9%);
    transform: scale(1.04);
}

.yc-form-popup-notice__icon {
    position: relative;
    width: 52px;
    min-width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #12b76a 0%, #067647 100%);
    box-shadow: 0 13px 30px rgb(18 183 106 / 26%);
}

.yc-form-popup-notice--error .yc-form-popup-notice__icon {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 10px 24px rgb(239 68 68 / 20%);
}

.yc-form-popup-notice__content {
    min-width: 0;
    flex: 1;
}

.yc-form-popup-notice__content strong {
    display: block;
    margin-bottom: 2px;
    color: var(--primary-text);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 900;
}

.yc-form-popup-notice__content p {
    margin: 0;
    color: var(--secondarytext);
    font-size: 14px;
    line-height: 1.75;
    font-weight: 600;
    max-height: 52px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .yc-form-popup-notice {
        inset-inline: 12px;
        inset-block-end: 14px;
        justify-content: center;
    }

    .yc-form-popup-notice__box {
        width: 100%;
        min-height: 76px;
        gap: 12px;
        padding: 14px 14px 16px;
        border-radius: 18px;
    }

    .yc-form-popup-notice__icon {
        width: 44px;
        min-width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .yc-form-popup-notice__content strong {
        font-size: 14px;
    }

    .yc-form-popup-notice__content p {
        font-size: 12px;
        line-height: 1.6;
        max-height: 42px;
    }

    .yc-form-popup-notice__close {
        width: 30px;
        min-width: 30px;
        height: 30px;
    }
}

.yc-form-popup-notice__progress {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    height: 3px;
    background: linear-gradient(90deg, #12b76a 0%, var(--uicolor) 100%);
    transform-origin: right center;
    animation: yc-form-popup-progress var(--yc-form-popup-time, 4200ms) linear forwards;
}

.yc-form-popup-notice--error .yc-form-popup-notice__progress {
    background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
}

@keyframes yc-form-popup-progress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

.SubmitBtnRow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.SubmitBtnRow button[type="submit"] {
    position: relative;
    overflow: hidden;
    min-height: 48px;
    height: auto;
    padding: 0 24px;
    border: 1px solid var(--uicolor);
    border-radius: 999px;
    background: var(--uicolor);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 16px 34px rgb(255 111 0 / 22%);
    transition:
        transform .26s ease,
        box-shadow .26s ease,
        background-color .26s ease,
        color .26s ease,
        border-color .26s ease,
        gap .26s ease;
}

.SubmitBtnRow button[type="submit"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--uicolor) 0%, var(--uicolor2) 100%);
    opacity: 0;
    transition: opacity .26s ease;
}

.SubmitBtnRow button[type="submit"] > * {
    position: relative;
    z-index: 2;
}

.SubmitBtnRow button[type="submit"] > i {
    color: inherit;
    font-size: 14px;
    transition: transform .26s ease;
}

.SubmitBtnRow button[type="submit"] > .-button-loader {
    left: 14px;
    z-index: 3;
}

.SubmitBtnRow button[type="submit"]:hover {
    gap: 14px;
    color: #ffffff;
    border-color: var(--uicolor2);
    background: var(--uicolor2);
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgb(0 0 0 / 13%);
}

.SubmitBtnRow button[type="submit"]:hover::before {
    opacity: 1;
}

.SubmitBtnRow button[type="submit"]:hover > i {
    transform: translateX(-3px);
}

.SubmitBtnRow button[type="submit"]:disabled,
.SubmitBtnRow button[type="submit"].is-loading {
    cursor: wait;
    pointer-events: none;
    opacity: .78;
    transform: none;
}

.form_form .p-content {
    max-width: 100%;
    text-align: start;
}

@media (max-width: 580px) {
    .-yourcolor-form-alerts {
        padding: 13px 14px;
        border-radius: 15px;
        font-size: 14px;
    }

    .-yourcolor-form-alerts.incenter {
        align-items: flex-start;
        gap: 10px;
    }

    .-yourcolor-form-alerts.incenter > i {
        width: 40px;
        min-width: 40px;
        height: 40px;
        border-radius: 14px;
        font-size: 21px;
    }

    .-yourcolor-form-alerts > h5 {
        font-size: 15px;
    }

    .yc-form-popup-notice {
        inset-inline: 12px;
        inset-block-end: 14px;
    }

    .yc-form-popup-notice__box {
        min-height: 74px;
        padding: 14px 14px 15px 13px;
        gap: 11px;
        border-radius: 14px;
    }

    .yc-form-popup-notice__icon {
        width: 40px;
        min-width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .yc-form-popup-notice__content strong {
        font-size: 14px;
    }

    .yc-form-popup-notice__content p {
        font-size: 12px;
        line-height: 1.65;
    }

    .yc-form-popup-notice__close {
        width: 30px;
        min-width: 30px;
        height: 30px;
    }

    .SubmitBtnRow {
        width: 100%;
    }

    .SubmitBtnRow button[type="submit"] {
        width: 100%;
        min-height: 46px;
        padding-inline: 18px;
        font-size: 14px;
    }

    error-handler-message {
        font-size: 12px;
        padding: 7px 10px;
    }
}
