/**
 * Admin Updates Notification Styles
 * Real-time update notifications
 */

.admin-update-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease-out;
    color: white;
}

.admin-update-notification.notification-success {
    border-left: 4px solid #00ff88;
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.2);
}

.admin-update-notification.notification-info {
    border-left: 4px solid #00d4ff;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

.admin-update-notification.notification-warning {
    border-left: 4px solid #ffaa00;
    box-shadow: 0 8px 32px rgba(255, 170, 0, 0.2);
}

.admin-update-notification.notification-error {
    border-left: 4px solid #ff4444;
    box-shadow: 0 8px 32px rgba(255, 68, 68, 0.2);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 18px;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
}

.notification-success .notification-icon {
    color: #00ff88;
}

.notification-info .notification-icon {
    color: #00d4ff;
}

.notification-warning .notification-icon {
    color: #ffaa00;
}

.notification-error .notification-icon {
    color: #ff4444;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .admin-update-notification {
        top: 70px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* Multiple notifications stacking */
.admin-update-notification:nth-child(2) {
    top: 160px;
}

.admin-update-notification:nth-child(3) {
    top: 240px;
}

.admin-update-notification:nth-child(4) {
    top: 320px;
}
