/* Monster Service - Notification System */

:root {
    --notification-success: #00C851;
    --notification-error: #FF4444;
    --notification-warning: #FF8800;
    --notification-info: #33B5E5;
    --notification-dark: #2C3E50;
    --notification-light: #FFFFFF;
    --notification-border-radius: 12px;
    --notification-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --notification-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.18);
    --notification-z-index: 10000;
    --notification-backdrop: rgba(0, 0, 0, 0.05);
}

/* Notification Container */
.notification-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: var(--notification-z-index);
    max-width: 420px;
    width: 100%;
    pointer-events: none;
    padding: 0 16px;
}

/* Individual Notification */
.notification {
    background: var(--notification-light);
    border-radius: var(--notification-border-radius);
    box-shadow: var(--notification-shadow);
    margin-bottom: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.notification.hide {
    transform: translateX(100%) scale(0.95);
    opacity: 0;
}

.notification:hover {
    box-shadow: var(--notification-shadow-hover);
    transform: translateX(0) scale(1.02);
}

/* Notification Types */
.notification.success {
    border-left: 4px solid var(--notification-success);
    background: linear-gradient(135deg, rgba(0, 200, 81, 0.05) 0%, rgba(0, 200, 81, 0.02) 100%);
}

.notification.error {
    border-left: 4px solid var(--notification-error);
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.05) 0%, rgba(255, 68, 68, 0.02) 100%);
}

.notification.warning {
    border-left: 4px solid var(--notification-warning);
    background: linear-gradient(135deg, rgba(255, 136, 0, 0.05) 0%, rgba(255, 136, 0, 0.02) 100%);
}

.notification.info {
    border-left: 4px solid var(--notification-info);
    background: linear-gradient(135deg, rgba(51, 181, 229, 0.05) 0%, rgba(51, 181, 229, 0.02) 100%);
}

/* Notification Icon */
.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

.notification.success .notification-icon {
    background: linear-gradient(135deg, var(--notification-success) 0%, #00A041 100%);
    color: white;
}

.notification.error .notification-icon {
    background: linear-gradient(135deg, var(--notification-error) 0%, #CC0000 100%);
    color: white;
}

.notification.warning .notification-icon {
    background: linear-gradient(135deg, var(--notification-warning) 0%, #E65100 100%);
    color: white;
}

.notification.info .notification-icon {
    background: linear-gradient(135deg, var(--notification-info) 0%, #0277BD 100%);
    color: white;
}

.notification-icon i {
    font-size: 14px;
    font-weight: 600;
}

/* Notification Content */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--notification-dark);
    margin: 0 0 6px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.notification-message {
    font-size: 14px;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* Close Button */
.notification-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: -2px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #64748B;
    transform: scale(1.1);
}

.notification-close i {
    font-size: 12px;
    font-weight: 600;
}

/* Progress Bar */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 0 0 var(--notification-border-radius) var(--notification-border-radius);
    overflow: hidden;
}

.notification-progress-bar {
    height: 100%;
    background: currentColor;
    border-radius: 0 0 var(--notification-border-radius) var(--notification-border-radius);
    transition: width linear;
    box-shadow: 0 0 8px currentColor;
}

.notification.success .notification-progress-bar {
    background: linear-gradient(90deg, var(--notification-success) 0%, #00A041 100%);
}

.notification.error .notification-progress-bar {
    background: linear-gradient(90deg, var(--notification-error) 0%, #CC0000 100%);
}

.notification.warning .notification-progress-bar {
    background: linear-gradient(90deg, var(--notification-warning) 0%, #E65100 100%);
}

.notification.info .notification-progress-bar {
    background: linear-gradient(90deg, var(--notification-info) 0%, #0277BD 100%);
}

/* Dark Theme */
@media (prefers-color-scheme: dark) {
    .notification {
        background: rgba(30, 41, 59, 0.95);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
    }
    
    .notification-title {
        color: #F8FAFC;
    }
    
    .notification-message {
        color: #CBD5E1;
    }
    
    .notification-close {
        background: rgba(255, 255, 255, 0.1);
        color: #94A3B8;
    }
    
    .notification-close:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #E2E8F0;
    }
    
    .notification-progress {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-container {
        top: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
        padding: 0;
    }
    
    .notification {
        padding: 18px 20px;
        margin-bottom: 12px;
        border-radius: 16px;
    }
    
    .notification-icon {
        width: 28px;
        height: 28px;
    }
    
    .notification-icon i {
        font-size: 12px;
    }
    
    .notification-title {
        font-size: 14px;
    }
    
    .notification-message {
        font-size: 13px;
    }
    
    .notification-close {
        width: 24px;
        height: 24px;
    }
}

/* Animation Keyframes - Slide animations disabled */
/* @keyframes slideInRight - Disabled */

/* @keyframes slideOutRight - Disabled */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 200, 81, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 200, 81, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 81, 0);
    }
}

/* Toast Style (Alternative) */
.notification.toast {
    border-left: none;
    border-radius: 12px;
    padding: 12px 16px;
    min-height: 48px;
}

.notification.toast .notification-icon {
    width: 20px;
    height: 20px;
    margin-top: 0;
}

.notification.toast .notification-icon i {
    font-size: 10px;
}

/* Special Effects */
.notification.success .notification-icon {
    animation: pulse 2s infinite;
}

.notification.error .notification-icon {
    animation: bounce 0.6s ease-in-out;
}

.notification.warning .notification-icon {
    animation: bounce 0.6s ease-in-out;
}

/* Glassmorphism Effect */
.notification.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Stacked Notifications */
.notification-container.stacked .notification {
    margin-bottom: 8px;
    transform: translateX(100%) scale(0.95);
}

.notification-container.stacked .notification.show {
    transform: translateX(0) scale(1);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .notification {
        transition: none;
    }
    
    .notification-progress-bar {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .notification {
        border: 2px solid currentColor;
    }
    
    .notification.success {
        border-color: var(--notification-success);
    }
    
    .notification.error {
        border-color: var(--notification-error);
    }
    
    .notification.warning {
        border-color: var(--notification-warning);
    }
    
    .notification.info {
        border-color: var(--notification-info);
    }
}
