/* --- PREMIUM TOAST NOTIFICATIONS --- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    min-width: 300px;
    max-width: 400px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toast-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Success State */
.toast.success {
    border-left: 5px solid #00eaff;
}
.toast.success .toast-icon {
    color: #00eaff;
}
.toast.success .toast-title {
    color: #00eaff;
}

/* Error State */
.toast.error {
    border-left: 5px solid #ff4d4d;
}
.toast.error .toast-icon {
    color: #ff4d4d;
}
.toast.error .toast-title {
    color: #ff4d4d;
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    transform-origin: left;
}

.toast.success .toast-progress-bar {
    background: #00eaff;
}

.toast.error .toast-progress-bar {
    background: #ff4d4d;
}

.toast.show .toast-progress-bar {
    animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    .toast {
        min-width: 0;
        width: 100%;
    }
}
