/* Notyf skin for appToast() (js/shared/app-toast.js). Loaded after lib/notyf/notyf.min.css.
   Notyf is LTR-only: the icon gap, the wrapper padding and the absolutely-placed close button
   all use physical `right`. They are reset here and re-applied with logical properties, so
   <html dir> flips the whole toast (icon at the start, close button at the end). */
.notyf {
    font-family: inherit;
}

.notyf__toast.app-toast {
    border-radius: 10px;
    padding-inline: 15px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
}

@media (min-width: 481px) {
    .notyf__toast.app-toast {
        max-width: min(520px, calc(100vw - 32px));
    }
}

.app-toast .notyf__wrapper {
    padding-block: 14px;
    padding-right: 0;
    padding-inline-end: 15px;
}

.app-toast.notyf__toast--dismissible .notyf__wrapper {
    padding-right: 0;
    padding-inline-end: 30px;
}

.app-toast .notyf__icon {
    width: auto;
    margin-right: 0;
    margin-inline-end: 12px;
    font-size: 1.15rem;
    line-height: 1;
}

.app-toast .app-toast-icon {
    color: #fff;
}

.app-toast .notyf__message {
    font-size: .9rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-align: start;
}

.app-toast .app-toast-title {
    display: block;
    margin-block-end: 2px;
}

.app-toast .notyf__dismiss {
    right: auto;
    margin-right: 0;
    inset-inline-end: 0;
    margin-inline-end: -15px;
}
