.category-alert-trigger {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    color: #21820f;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    margin-top: 14px;
    min-height: 42px;
    padding: 9px 15px;
}

.category-alert-trigger:hover,
.category-alert-trigger:focus {
    background: #f6fbf2;
    color: #176b09;
}

.category-alert-modal {
    bottom: 22px;
    left: 22px;
    max-width: calc(100vw - 44px);
    opacity: 0;
    position: fixed;
    transform: translateY(16px);
    transition: opacity 160ms ease, transform 160ms ease;
    width: 430px;
    z-index: 1600;
}

.category-alert-modal[hidden] {
    display: none !important;
}

.category-alert-modal.is-open {
    opacity: 1;
    transform: translateY(0);
}

.category-alert-modal-content {
    background: #fff;
    border: 1px solid #dfe5dc;
    border-radius: 6px;
    box-shadow: 0 18px 46px rgba(31, 42, 56, 0.22);
    color: #263238;
    padding: 20px;
    position: relative;
}

.category-alert-close {
    align-items: center;
    background: transparent;
    border: 0;
    color: #687386;
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 34px;
}

.category-alert-close:hover,
.category-alert-close:focus {
    color: #263238;
}

.category-alert-heading,
.category-alert-success {
    align-items: flex-start;
    display: flex;
    gap: 13px;
    padding-right: 20px;
}

.category-alert-icon,
.category-alert-success-icon {
    align-items: center;
    background: #edf8e8;
    border: 1px solid #d8edce;
    border-radius: 6px;
    color: #38a916;
    display: inline-flex;
    flex: 0 0 44px;
    font-size: 20px;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.category-alert-heading h2,
.category-alert-success h2 {
    color: #263238;
    font-size: 19px;
    line-height: 25px;
    margin: 0 0 4px;
}

.category-alert-heading p,
.category-alert-success p {
    color: #687386;
    font-size: 13px;
    line-height: 19px;
    margin: 0;
}

.category-alert-label {
    color: #3f4a5a;
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin: 16px 0 6px;
}

.category-alert-form-row {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.category-alert-form-row .form-control {
    border: 1px solid #ccd5c9;
    border-radius: 5px;
    box-shadow: none;
    height: 44px;
    min-width: 0;
}

.category-alert-form-row .form-control:focus {
    border-color: #4ebf1f;
    box-shadow: 0 0 0 3px rgba(78, 191, 31, 0.13);
}

.category-alert-submit {
    align-items: center;
    background: #42b719;
    border: 1px solid #42b719;
    border-radius: 5px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    height: 44px;
    justify-content: center;
    padding: 0 14px;
    white-space: nowrap;
}

.category-alert-submit:hover,
.category-alert-submit:focus {
    background: #339c11;
    border-color: #339c11;
    color: #fff;
}

.category-alert-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.category-alert-consent {
    color: #7b8493;
    font-size: 10px;
    line-height: 15px;
    margin: 8px 0 0;
}

.category-alert-consent a {
    color: #4a5682;
    text-decoration: underline;
}

.category-alert-error {
    color: #bd2c2c;
    font-size: 12px;
    line-height: 17px;
    margin: 8px 0 0;
}

.category-alert-honeypot {
    left: -10000px;
    position: absolute;
    top: auto;
}

.category-alert-success {
    align-items: center;
    min-height: 70px;
}

@media (max-width: 575px) {
    .category-alert-modal {
        bottom: 10px;
        left: 10px;
        max-width: calc(100vw - 20px);
        width: calc(100vw - 20px);
    }

    .category-alert-modal-content {
        padding: 17px;
    }

    .category-alert-heading h2,
    .category-alert-success h2 {
        font-size: 17px;
        line-height: 22px;
    }

    .category-alert-form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .category-alert-submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-alert-modal {
        transition: none;
    }
}
