/* Global Notification Styles */
.global-notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    pointer-events: none;
}

.global-notification {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 15px;
    pointer-events: auto;
    animation: slideInRight 0.5s ease-out;
    border: 2px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.global-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.3);
}

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

.global-notification-title {
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.global-notification-time {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.global-notification-content {
    margin-bottom: 15px;
}

.global-notification-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.global-notification-label {
    font-weight: bold;
    min-width: 80px;
    margin-right: 10px;
    color: rgba(255,255,255,0.9);
}

.global-notification-value {
    flex: 1;
    color: rgba(255,255,255,0.95);
}

.global-notification-actions {
    display: flex;
    gap: 10px;
}

.global-notification-btn {
    flex: 1;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.global-notification-btn.accept {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.global-notification-btn.accept:hover {
    background: rgba(16, 185, 129, 1);
    transform: translateY(-2px);
}

.global-notification-btn.reject {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.global-notification-btn.reject:hover {
    background: rgba(239, 68, 68, 1);
    transform: translateY(-2px);
}

.global-notification-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

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

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

.global-notification.removing {
    animation: slideOutRight 0.3s ease-in forwards;
}

