/* ACTION: ADD missing notification styles */

/* ===============================================
   NOTIFICATION COMPONENT
   =============================================== */

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 100%;
    min-width: 320px;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.notification-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-icon i {
    font-size: 14px;
    color: white;
    font-weight: 600;
}

.notification-text {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.3;
    word-wrap: break-word;
}

.notification-message {
    font-size: 14px;
    line-height: 1.4;
    color: #64748b;
    margin: 0;
    word-wrap: break-word;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.2s ease;
    z-index: 3;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #64748b;
}

/* Notification Types */
.notification.success {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}
.notification.success .notification-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.notification.success .notification-title {
    color: #059669;
}

.notification.error {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fef1f1 100%);
}
.notification.error .notification-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.notification.error .notification-title {
    color: #dc2626;
}

.notification.warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}
.notification.warning .notification-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.notification.warning .notification-title {
    color: #d97706;
}

.notification.info {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}
.notification.info .notification-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.notification.info .notification-title {
    color: #2563eb;
}

/* Progress Bar */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.notification-progress-bar {
    height: 100%;
    width: 100%;
    transform: translateX(-100%);
    transition: transform 0ms linear;
}

.notification.success .notification-progress-bar {
    background: linear-gradient(90deg, #10b981, #059669);
}

.notification.error .notification-progress-bar {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.notification.warning .notification-progress-bar {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.notification.info .notification-progress-bar {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        min-width: auto;
        max-width: none;
        margin-bottom: 8px;
    }
    
    .notification-title {
        font-size: 14px;
    }
    
    .notification-message {
        font-size: 13px;
    }
}

/* Animation Classes */
.notification-slide-in {
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification-slide-out {
    animation: slideOut 0.3s ease-in-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}