/* Keep all user messages readable in both RTL and LTR layouts. */
.toast {
    z-index: 500;
    position: fixed;
    inset-block-start: 105px;
    inset-inline-start: 50%;
    inset-inline-end: auto;
    width: min(420px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 12px 20px;
    color: #fff;
    background: var(--green-deep, #458b1b);
    border-radius: 12px;
    box-shadow: var(--shadow, 0 18px 50px rgb(23 43 77 / 10%));
    text-align: center;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    transform: translateX(50%);
}

[dir="ltr"] .toast { transform: translateX(-50%); }

.toast.is-hiding {
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
    transform: translate(50%, -10px);
}

[dir="ltr"] .toast.is-hiding { transform: translate(-50%, -10px); }

.form-status,
.alert {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.8;
}

.form-status {
    margin: 0 0 20px;
    padding: 14px 16px;
    color: var(--green-deep, #458b1b);
    background: #eef9e8;
    border: 1px solid #cceabf;
    border-radius: 12px;
    text-align: center;
}