/**
 * Notification Styles - Cyberpunk Edition
 * Futuristic styling for the notification system
 */

:root {
    --neon-blue: #00f3ff;
    --neon-purple: #9d4edd;
    --neon-pink: #ff2a6d;
    --neon-green: #39ff14;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --panel-bg: rgba(15, 15, 20, 0.85);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    background-color: var(--panel-bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 243, 255, 0.3);
    padding: 15px;
    display: none; /* Use display property instead of transform for better performance */
    align-items: flex-start;
    /* transform property removed to reduce CPU usage */
    z-index: 9999;
    border-left: 4px solid var(--neon-blue);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 243, 255, 0.3);
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 50%, rgba(0, 243, 255, 0.05) 50%),
        linear-gradient(rgba(0, 0, 0, 0.1) 50%, transparent 50%);
    background-size: 4px 4px;
    pointer-events: none;
    opacity: 0.5;
    z-index: -1;
}

.notification.show {
    display: flex; /* Use display property instead of transform for better performance */
}

.notification-success {
    border-left-color: var(--neon-green);
}

.notification-error {
    border-left-color: var(--neon-pink);
}

.notification-warning {
    border-left-color: #f39c12;
}

.notification-info {
    border-left-color: var(--neon-blue);
}

.notification-content {
    flex-grow: 1;
    padding-right: 10px;
}

.notification-content h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--neon-blue);
}

.notification-content p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    /* Transition removed to reduce CPU usage */
}

.notification-close:hover {
    color: white;
    text-shadow: 0 0 5px var(--neon-blue);
}

/* Success notification icon */
.notification-success::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--neon-green);
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border: 1px solid var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
    opacity: 0.7;
}

/* Error notification icon */
.notification-error::after {
    content: '!';
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--neon-pink);
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border: 1px solid var(--neon-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
    opacity: 0.7;
}

/* Warning notification icon */
.notification-warning::after {
    content: '!';
    position: absolute;
    top: 15px;
    right: 15px;
    color: #f39c12;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border: 1px solid #f39c12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px #f39c12;
    text-shadow: 0 0 5px #f39c12;
    opacity: 0.7;
}

/* Info notification icon */
.notification-info::after {
    content: 'i';
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--neon-blue);
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border: 1px solid var(--neon-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
    opacity: 0.7;
}

/* Multiple notifications stacking */
.notification + .notification {
    margin-top: 10px;
}

/* Glitch animation removed to reduce CPU usage */

/* Responsive adjustments */
@media (max-width: 480px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
