/* assets/css/notifications.css */

.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.notification-container {
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.notification-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.notification-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-body {
    padding: 20px;
}

.notification-footer {
    padding: 15px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.notification-progress {
    height: 4px;
    background: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.notification-progress-bar {
    position: absolute;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in {
    animation: slideIn 0.3s ease-in-out;
    animation-fill-mode: both;
}

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

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

/* Type-specific colors */
.bg-blue-50 {
    background-color: #eff6ff;
}
.border-blue-200 {
    border-color: #bfdbfe;
}
.text-blue-800 {
    color: #1e40af;
}

.bg-green-50 {
    background-color: #f0fdf4;
}
.border-green-200 {
    border-color: #bbf7d0;
}
.text-green-800 {
    color: #166534;
}

.bg-yellow-50 {
    background-color: #fefce8;
}
.border-yellow-200 {
    border-color: #fef08a;
}
.text-yellow-800 {
    color: #854d0e;
}

.bg-red-50 {
    background-color: #fef2f2;
}
.border-red-200 {
    border-color: #fecaca;
}
.text-red-800 {
    color: #991b1b;
}

.bg-gray-50 {
    background-color: #f9fafb;
}
.border-gray-200 {
    border-color: #e5e7eb;
}
.text-gray-800 {
    color: #1f2937;
}

/* Icon colors */
.text-blue-500 { color: #3b82f6; }
.text-green-500 { color: #10b981; }
.text-yellow-500 { color: #f59e0b; }
.text-red-500 { color: #ef4444; }
.text-gray-500 { color: #6b7280; }

/* Responsive styles */
@media (max-width: 640px) {
    .notification-overlay {
        padding: 10px;
    }
    
    .notification-container {
        max-height: 90vh;
    }
    
    .notification-modal {
        margin-bottom: 10px;
    }
    
    .notification-header,
    .notification-body,
    .notification-footer {
        padding: 15px;
    }
    
    .notification-icon {
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }
    
    .notification-icon i {
        font-size: 16px;
    }
}