/* Wrestler Processor Notifications */

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-blue);
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 4px 16px var(--shadow-heavy);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: slideIn 0.3s ease-out;
    pointer-events: auto;
    min-width: 320px;
    max-width: 100%;
    border: 1px solid var(--border-color);
}

.notification-icon {
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.notification-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Notification types - Info */
.notification-info {
    border-left-color: var(--accent-blue);
}

.notification-info .notification-icon {
    color: var(--accent-blue);
    background: color-mix(in srgb, var(--accent-blue) 15%, transparent);
}

/* Success */
.notification-success {
    border-left-color: var(--success);
}

.notification-success .notification-icon {
    color: var(--success);
    background: color-mix(in srgb, var(--success) 15%, transparent);
}

/* Warning */
.notification-warning {
    border-left-color: var(--warning);
}

.notification-warning .notification-icon {
    color: var(--warning);
    background: color-mix(in srgb, var(--warning) 15%, transparent);
}

/* Error */
.notification-error {
    border-left-color: var(--accent-red);
}

.notification-error .notification-icon {
    color: var(--accent-red);
    background: color-mix(in srgb, var(--accent-red) 15%, transparent);
}

/* Searching */
.notification-searching {
    border-left-color: var(--accent-purple);
}

.notification-searching .notification-icon {
    color: var(--accent-purple);
    background: color-mix(in srgb, var(--accent-purple) 15%, transparent);
}

/* Found */
.notification-found {
    border-left-color: var(--success);
}

.notification-found .notification-icon {
    color: var(--success);
    background: color-mix(in srgb, var(--success) 15%, transparent);
}

/* Not Found */
.notification-not_found {
    border-left-color: var(--warning);
}

.notification-not_found .notification-icon {
    color: var(--warning);
    background: color-mix(in srgb, var(--warning) 15%, transparent);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

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

    .notification {
        min-width: auto;
        font-size: 13px;
        padding: 12px 14px;
    }
    
    .notification-icon {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    
    .notification-close {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
}
