/* Toast Notification Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

/* Toast Card */
.toast-box {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-left: 4px solid var(--color-red, #ff0000);
    padding: 16px 20px;
    border-radius: 8px;
    min-width: 300px;
    max-width: 400px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    /* Fallback to sans-serif */
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s ease;
    pointer-events: auto;
    overflow: hidden;
    position: relative;
    opacity: 0;
}

.toast-box.active {
    transform: translateX(0);
    opacity: 1;
}

.toast-box.hide {
    transform: translateX(130%);
    opacity: 0;
}

/* Icons */
.toast-icon {
    font-size: 20px;
    color: var(--color-red, #ff0000);
    flex-shrink: 0;
}

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

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toast-message {
    font-size: 13px;
    color: #ccc;
    line-height: 1.4;
}

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

.toast-progress::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--color-red, #ff0000);
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        width: 0%;
    }
}

/* Close Button */
.toast-close {
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #fff;
}