/* notyf sets the type colour inline on the toast, the ripple and the icon: only !important overrides it.
   The toast gets the colour too, so the text stays readable while the ripple expands. */
.notyf__toast--success,
.notyf__toast--success .notyf__ripple {
    background: #17602b !important;
}

.notyf__toast--error,
.notyf__toast--error .notyf__ripple {
    background: #a61414 !important;
}

.notyf__toast--info,
.notyf__toast--info .notyf__ripple {
    background: #1f4fa3 !important;
}

.notyf__toast--warning,
.notyf__toast--warning .notyf__ripple {
    background: #7a4d00 !important;
}

.notyf__toast--success .notyf__icon--success {
    color: #17602b !important;
}

.notyf__toast--error .notyf__icon--error {
    color: #a61414 !important;
}

.notyf__toast--info .notyf__icon--info {
    color: #1f4fa3 !important;
}

.notyf__toast--warning .notyf__icon--warning {
    color: #7a4d00 !important;
}

/* notyf fades the close cross to 0.35 opacity and removes its focus outline. */
.notyf .notyf__toast .notyf__dismiss-btn {
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.notyf .notyf__toast .notyf__dismiss-btn:hover {
    background-color: rgba(0, 0, 0, 0.35);
}

.notyf .notyf__toast .notyf__dismiss-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}
