/*!
 * Toast Alert Styling for ALIF Nigeria
 */
.toastify-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.toastify-container.top-right { top: 24px; right: 24px; }
.toastify-container.top-left { top: 24px; left: 24px; }
.toastify-container.bottom-right { bottom: 24px; right: 24px; }
.toastify-container.bottom-left { bottom: 24px; left: 24px; }

.toast-alert {
    pointer-events: auto;
    min-width: 320px;
    max-width: 440px;
    background: #28a745
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.92rem;
    line-height: 1.45;
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 5px solid #d8b75c;
    position: relative;
    overflow: hidden;
}

.toast-alert.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-alert.hide {
    transform: translateY(-15px) scale(0.92);
    opacity: 0;
}

.toast-alert .toast-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-alert .toast-content {
    flex-grow: 1;
}

.toast-alert .toast-title {
    font-weight: 800;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 0.95rem;
}

.toast-alert .toast-message {
    color: #dbe6dd;
    font-size: 0.88rem;
}

.toast-alert .toast-close {
    background: none;
    border: none;
    color: #a0b3a6;
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.toast-alert .toast-close:hover {
    color: #ffffff;
}

/* Toast Variants */
.toast-alert.toast-success {
    border-left-color: #2ecc71;
}
.toast-alert.toast-success .toast-icon { color: #2ecc71; }

.toast-alert.toast-error {
    border-left-color: #e74c3c;
}
.toast-alert.toast-error .toast-icon { color: #e74c3c; }

.toast-alert.toast-warning {
    border-left-color: #f39c12;
}
.toast-alert.toast-warning .toast-icon { color: #f39c12; }

.toast-alert.toast-info {
    border-left-color: #3498db;
}
.toast-alert.toast-info .toast-icon { color: #3498db; }

/* Progress bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(216, 183, 92, 0.7);
    width: 100%;
}
.toast-success .toast-progress { background: #2ecc71; }
.toast-error .toast-progress { background: #e74c3c; }
.toast-warning .toast-progress { background: #f39c12; }
.toast-info .toast-progress { background: #3498db; }
