/* Modern Floating Toast System */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10001; /* Above almost everything */
    width: 320px;
    pointer-events: none; /* Allow clicks through empty container */
}

.toast {
    pointer-events: auto; /* Enable clicks on actual toasts */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    padding: 12px 18px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 6px solid #ccc;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-icon {
    font-size: 22px;
    margin-right: 14px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    font-size: 15px;
    margin-bottom: 0px;
}

.toast-message {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.toast-close {
    margin-left: 12px;
    color: #aaa;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 14px;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}

.toast-close:hover {
    color: #333;
    background-color: rgba(0,0,0,0.05);
}

/* Glassmorphism Variants */
.toast-success { border-left-color: #2ecc71; }
.toast-success .toast-icon { color: #2ecc71; }

.toast-danger { border-left-color: #e74c3c; }
.toast-danger .toast-icon { color: #e74c3c; }

.toast-warning { border-left-color: #f1c40f; }
.toast-warning .toast-icon { color: #f1c40f; }

.toast-info { border-left-color: #3498db; }
.toast-info .toast-icon { color: #3498db; }

