/* Notification Styles */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    min-width: 320px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    position: relative;
    border-left: 4px solid #667eea;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
}

.notification-close:hover {
    background: #f5f5f5;
    color: #333;
}

.notification-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    padding-right: 32px;
}

.notification-message {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.notification-detail {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.notification-time {
    font-size: 12px;
    color: #667eea;
    font-weight: 500;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Notification Types */
.notification-success {
    border-left-color: #10b981;
}

.notification-success .notification-title {
    color: #10b981;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-error .notification-title {
    color: #ef4444;
}

.notification-warning {
    border-left-color: #f59e0b;
}

.notification-warning .notification-title {
    color: #f59e0b;
}

.notification-info {
    border-left-color: #3b82f6;
}

.notification-info .notification-title {
    color: #3b82f6;
}

/* Rate Limit Specific Styling */
.notification-rate-limit {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-left-color: #f59e0b;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.notification-rate-limit .notification-title {
    color: #f59e0b;
    font-weight: 700;
}

.notification-rate-limit .notification-time {
    color: #f59e0b;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        min-width: auto;
        max-width: none;
    }
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

