/* Toast notifications — Toastify restyled to match the app's cards. */

.app-toast.toastify {
    display: flex;
    align-items: stretch;
    min-width: 280px;
    max-width: 360px;
    padding: 0;
    color: #212529;
    background: #fff;
    border-radius: .5rem;
    border-left: 4px solid #6c757d;
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .15);
    cursor: default;
}

.app-toast .toast__body {
    display: flex;
    align-items: flex-start;
    flex: 1;
    padding: .85rem 1rem;
}

.app-toast .toast__icon {
    margin-right: .75rem;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #6c757d;
}

.app-toast .toast__text {
    flex: 1;
    min-width: 0;
}

.app-toast .toast__title {
    font-weight: 600;
    line-height: 1.3;
}

.app-toast .toast__message {
    font-size: .875rem;
    color: #495057;
    word-wrap: break-word;
}

.app-toast .toast-close {
    align-self: flex-start;
    padding: .6rem .75rem 0 0;
    color: #adb5bd;
    font-size: 1.25rem;
    opacity: 1;
}

/* Type accents */
.app-toast.toast--success { border-left-color: #28a745; }
.app-toast.toast--success .toast__icon { color: #28a745; }

.app-toast.toast--error { border-left-color: #dc3545; }
.app-toast.toast--error .toast__icon { color: #dc3545; }

.app-toast.toast--warning { border-left-color: #ffc107; }
.app-toast.toast--warning .toast__icon { color: #e0a800; }

.app-toast.toast--info { border-left-color: #17a2b8; }
.app-toast.toast--info .toast__icon { color: #17a2b8; }
