/* ===============================================
   Toast Notification System
   =============================================== */

.toast-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(15, 20, 35, 0.98);
    border-radius: 6px;
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    min-width: 200px;
    max-width: 400px;
    position: relative;
}

.toast-show {
    opacity: 1;
    transform: translateY(0);
}

.toast-hide {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
}

/* Toast icon */
.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.toast-icon svg {
    width: 16px;
    height: 16px;
}

/* Toast message */
.toast-message {
    flex: 1;
    text-transform: uppercase;
}

/* Toast timer */
.toast-timer {
    flex-shrink: 0;
    font-size: 9px;
    opacity: 0.7;
    font-weight: 600;
    min-width: 20px;
    text-align: right;
}

/* Toast close button */
.toast-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
    color: var(--text-primary);
}

.toast-close:hover {
    opacity: 1;
}

.toast-close svg {
    width: 12px;
    height: 12px;
}

/* Toast types */
.toast-success {
    background: rgb(31 47 36 / 95%);
}

.toast-success .toast-icon {
    color: rgb(80, 200, 120);
}

.toast-error {
    background: rgba(35, 25, 25, 0.95);
}

.toast-error .toast-icon {
    color: rgb(255, 80, 80);
}

.toast-warning {
    background: rgba(35, 32, 25, 0.95);
}

.toast-warning .toast-icon {
    color: rgb(255, 200, 80);
}

.toast-info {
    background: rgba(25, 28, 35, 0.95);
}

.toast-info .toast-icon {
    color: var(--accent-primary);
}

/* Hover effect */
.toast:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

