.ljc-notify {
    --ljc-notify-ink: #342735;
    --ljc-notify-title: #4d274d;
    --ljc-notify-placeholder: #705e68;
    --ljc-notify-input-focus: #8b4a72;
    --ljc-notify-error: #a13e4b;
    --ljc-notify-success: #35664b;
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
    padding: 24px;
    color: var(--ljc-notify-ink);
    background: #fff8f1;
    border: 1px solid #eaded5;
    border-radius: 14px;
    box-sizing: border-box;
    container-type: inline-size;
}

.ljc-notify,
.ljc-notify * {
    box-sizing: border-box;
}

.ljc-notify ::selection {
    color: #fff;
    background: #7a3f69;
}

.ljc-notify__title {
    margin: 0 0 13px;
    color: var(--ljc-notify-title);
    font-family: inherit;
    font-size: clamp(1.125rem, 1rem + 0.45vw, 1.35rem);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.ljc-notify__form {
    max-height: 120px;
    opacity: 1;
    transition:
        opacity 180ms ease-out,
        transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
        max-height 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ljc-notify__fields {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.ljc-notify__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ljc-notify__input {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    padding: 12px 16px;
    color: var(--ljc-notify-ink);
    caret-color: var(--ljc-notify-input-focus);
    background: #fff;
    border: 1px solid #cdbdc5;
    border-radius: 10px;
    box-shadow: none;
    font: inherit;
    font-size: 1rem;
    line-height: 1.25;
    outline: 3px solid transparent;
    outline-offset: 1px;
    transition:
        border-color 150ms ease-out,
        outline-color 150ms ease-out,
        box-shadow 150ms ease-out;
}

.ljc-notify__input::placeholder {
    color: var(--ljc-notify-placeholder);
    opacity: 1;
}

.ljc-notify__input:hover {
    border-color: #a9909e;
}

.ljc-notify__input:focus-visible {
    border-color: var(--ljc-notify-input-focus);
    outline-color: rgba(139, 74, 114, 0.24);
    outline-color: color-mix(in srgb, var(--ljc-notify-input-focus) 24%, transparent);
    box-shadow: 0 5px 16px rgba(77, 39, 77, 0.08);
}

.ljc-notify__input[aria-invalid="true"] {
    border-color: var(--ljc-notify-error);
    outline-color: rgba(161, 62, 75, 0.2);
    outline-color: color-mix(in srgb, var(--ljc-notify-error) 20%, transparent);
}

.ljc-notify__button {
    flex: 0 0 auto;
    min-height: 52px;
    margin: 0;
    padding: 12px 24px;
    color: #fff;
    background: #5f315f;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(77, 39, 77, 0.17);
    cursor: pointer;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    outline: 3px solid transparent;
    outline-offset: 2px;
    transition:
        background-color 150ms ease-out,
        box-shadow 180ms ease-out,
        transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
        outline-color 150ms ease-out;
}

.ljc-notify__button:hover {
    color: #fff;
    background: #7a3f69;
    box-shadow: 0 9px 22px rgba(77, 39, 77, 0.22);
    transform: translateY(-1px);
}

.ljc-notify__button:focus-visible {
    outline-color: rgba(139, 74, 114, 0.34);
    outline-color: color-mix(in srgb, var(--ljc-notify-input-focus) 34%, transparent);
}

.ljc-notify__button:active {
    transform: translateY(0);
}

.ljc-notify__button:disabled {
    cursor: wait;
    opacity: 0.72;
    box-shadow: none;
    transform: none;
}

.ljc-notify__message,
.ljc-notify__noscript {
    margin: 9px 2px 0;
    color: var(--ljc-notify-error);
    font-size: 0.875rem;
    font-weight: 550;
    line-height: 1.45;
}

.ljc-notify__message:empty {
    margin-top: 0;
}

.ljc-notify__message.is-error {
    color: var(--ljc-notify-error);
}

.ljc-notify__message.is-success {
    margin: 5px 0 1px;
    color: var(--ljc-notify-success);
    font-size: 1rem;
    line-height: 1.5;
    animation: ljc-notify-message-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ljc-notify.is-success .ljc-notify__form {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
}

.ljc-notify.is-loading .ljc-notify__input {
    background-color: #fffcf8;
}

.ljc-notify__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@keyframes ljc-notify-message-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .ljc-notify {
        padding: 20px;
    }

    .ljc-notify__fields {
        flex-direction: column;
    }

    .ljc-notify__button {
        width: 100%;
    }
}

@container (max-width: 560px) {
    .ljc-notify__fields {
        flex-direction: column;
    }

    .ljc-notify__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ljc-notify__form,
    .ljc-notify__input,
    .ljc-notify__button,
    .ljc-notify__message.is-success {
        animation: none;
        transition: none;
    }
}
