/* ════════════════════════════════════════════════════════════════
   MODERN PREMIUM TOAST NOTIFICATIONS
   ════════════════════════════════════════════════════════════════ */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    width: calc(100% - 48px);
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show, .toast.enter {
    transform: translateX(0) translateY(0);
    opacity: 1;
}

/* Success State */
.toast.success {
    border-left: 4px solid #10b981;
    background: rgba(255, 255, 255, 0.98);
}
.toast.success .toast-icon {
    color: #10b981;
    background: #ecfdf5;
}

/* Error State */
.toast.error {
    border-left: 4px solid #ef4444;
    background: rgba(255, 255, 255, 0.98);
}
.toast.error .toast-icon {
    color: #ef4444;
    background: #fef2f2;
}

/* Inner elements */
.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title, .toast .title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.toast-message, .toast .msg {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
    font-weight: 500;
}

.toast-close, .toast .close {
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.15s ease;
    padding: 2px;
    margin-top: -2px;
}

.toast-close:hover, .toast .close:hover {
    color: #475569;
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
    #toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }
    .toast {
        transform: translateY(-40px);
    }
    .toast.show, .toast.enter {
        transform: translateY(0);
    }
}
