/* notification.css - Notification area styles */

notification-area {
    display: block;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 10000;
    pointer-events: none;
}

.notification-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 12px;
}

.notification {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    border-left: 4px solid;
    min-height: 60px;
}

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

.notification.info {
    border-left-color: var(--primary-purple);
}

.notification.success {
    border-left-color: var(--primary-green);
}

.notification.warning {
    border-left-color: #f39c12;
}

.notification.error {
    border-left-color: #e74c3c;
}

.notification-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    color: var(--white);
    flex-shrink: 0;
}

.notification.info .notification-icon {
    background: var(--primary-purple);
}

.notification.success .notification-icon {
    background: var(--primary-green);
}

.notification.warning .notification-icon {
    background: #f39c12;
}

.notification.error .notification-icon {
    background: #e74c3c;
}

.notification-content {
    flex: 1;
    margin-right: 15px;
}

.notification-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 14px;
}

.notification-message {
    color: var(--gray-dark);
    font-size: 13px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: var(--gray-dark);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-close:hover {
    background: var(--gray-medium);
    color: var(--text-dark);
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
}

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

.notification.info .notification-progress-bar {
    background: var(--primary-purple);
}

.notification.success .notification-progress-bar {
    background: var(--primary-green);
}

.notification.warning .notification-progress-bar {
    background: #f39c12;
}

.notification.error .notification-progress-bar {
    background: #e74c3c;
}

/* Mobile responsive */
@media (max-width: 768px) {
    notification-area {
        width: 95%;
        left: 2.5%;
        transform: none;
    }
    
    .notification {
        padding: 14px 16px;
        min-height: 55px;
    }
    
    .notification-icon {
        width: 20px;
        height: 20px;
        margin-right: 12px;
        font-size: 12px;
    }
    
    .notification-title {
        font-size: 13px;
    }
    
    .notification-message {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .notification {
        padding: 12px 14px;
        min-height: 50px;
    }

    .notification-content {
        margin-right: 10px;
    }

    .notification-close {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }
}