/* XON Notification Styles */
.xon-notification-container {
    position: fixed;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    pointer-events: none;
    max-width: 30rem;
    width: 100%;
    padding: 0 1rem;
}

.xon-notification {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 500px;
    width: 100%;
    pointer-events: auto;
    animation: slideInDown 0.3s ease-out;
    border-left: 4px solid;
    transition: all 0.2s ease;
}

.xon-notification:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.xon-notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    gap: 1rem;
}

.xon-notification-message {
    flex: 1;
    color: #002451;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.xon-notification-close {
    background: none;
    border: none;
    color: #8e8e93;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.xon-notification-close:hover {
    color: #002451;
}

/* Success notification - green */
.xon-notification-success {
    border-left-color: #54b848;
}

.xon-notification-success .xon-notification-message {
    color: #002451;
}

/* Error notification - red */
.xon-notification-error {
    border-left-color: #dc3545;
}

.xon-notification-error .xon-notification-message {
    color: #002451;
}

/* Warning notification - orange/yellow */
.xon-notification-warning {
    border-left-color: #ffc107;
}

.xon-notification-warning .xon-notification-message {
    color: #002451;
}

/* Info notification - blue */
.xon-notification-info {
    border-left-color: #17a2b8;
}

.xon-notification-info .xon-notification-message {
    color: #002451;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .xon-notification-container {
        top: 4rem;
        padding: 0 0.5rem;
    }

    .xon-notification {
        min-width: auto;
        max-width: 100%;
    }

    .xon-notification-content {
        padding: 0.875rem 1rem;
    }

    .xon-notification-message {
        font-size: 13px;
    }
}





