/* Notification System Styles */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.notification {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    max-width: 450px;
    padding: 16px;
    background: rgba(17, 25, 40, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    pointer-events: auto;
    transform: translateX(calc(100% + 20px));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification-show {
    transform: translateX(0);
    opacity: 1;
}

.notification-hide {
    transform: translateX(calc(100% + 20px));
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-message {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.notification-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
    border-radius: 6px;
    padding: 0;
}

.notification-close:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.notification-close:active {
    transform: scale(0.95);
}

/* Success notification */
.notification-success {
    border-left: 3px solid #19FB9B;
}

.notification-success .notification-icon {
    color: #19FB9B;
}

/* Error notification */
.notification-error {
    border-left: 3px solid #FF4757;
}

.notification-error .notification-icon {
    color: #FF4757;
}

/* Warning notification */
.notification-warning {
    border-left: 3px solid #FFA502;
}

.notification-warning .notification-icon {
    color: #FFA502;
}

/* Info notification */
.notification-info {
    border-left: 3px solid #5497D5;
}

.notification-info .notification-icon {
    color: #5497D5;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .notification {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}

/* Animation for multiple notifications */
.notification:nth-child(n+4) {
    opacity: 0.7;
    transform: scale(0.95);
}

.notification:nth-child(n+5) {
    display: none;
}
