.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
    max-width: 400px;
}

.notification {
    background: #1a1a1a;
    border: 2px solid #00ff88;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
    pointer-events: all;
    animation: slideInRight 0.3s ease-out;
    position: relative;
    min-width: 300px;
}

.notification.success {
    border-color: #00ff88;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.notification.error {
    border-color: #ff4444;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.3);
}

.notification.warning {
    border-color: #ffaa00;
    box-shadow: 0 4px 20px rgba(255, 170, 0, 0.3);
}

.notification.info {
    border-color: #00aaff;
    box-shadow: 0 4px 20px rgba(0, 170, 255, 0.3);
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.notification-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-icon {
    font-size: 16px;
}

.notification-close {
    background: none;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

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

.notification-message {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    font-family: Arial, sans-serif;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #00ff88;
    animation: progressBar 3s linear;
}

.notification.success .notification-progress {
    background: #00ff88;
}

.notification.error .notification-progress {
    background: #ff4444;
}

.notification.warning .notification-progress {
    background: #ffaa00;
}

.notification.info .notification-progress {
    background: #00aaff;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.notification.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        min-width: auto;
    }

    .notification-title {
        font-size: 10px;
    }

    .notification-message {
        font-size: 12px;
    }
}
