/* Sistema de Notificaciones Profesionales */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    padding: 16px 20px;
    border-left: 4px solid #007bff;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.warning {
    border-left-color: #ffc107;
}

.notification.info {
    border-left-color: #17a2b8;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin: 0;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.notification-close:hover {
    color: #666;
}

.notification-message {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.notification-icon {
    margin-right: 8px;
    font-size: 16px;
}

.notification.success .notification-icon {
    color: #28a745;
}

.notification.error .notification-icon {
    color: #dc3545;
}

.notification.warning .notification-icon {
    color: #ffc107;
}

.notification.info .notification-icon {
    color: #17a2b8;
}

/* Animación de entrada */
@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;
    }
}

.notification.slide-in {
    animation: slideIn 0.3s ease-out;
}

.notification.slide-out {
    animation: slideOut 0.3s ease-in;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-container {
        right: 10px;
        left: 10px;
        max-width: none;
        top: 10px;
    }
    
    .notification {
        margin-bottom: 8px;
        padding: 12px 16px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .notification-title {
        font-size: 13px;
    }

    .notification-message {
        font-size: 12px;
    }

    .notification-icon {
        font-size: 14px;
    }

    .notification-close {
        font-size: 16px;
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 576px) {
    .notification-container {
        right: 5px;
        left: 5px;
        top: 5px;
    }
    
    .notification {
        margin-bottom: 6px;
        padding: 10px 12px;
    }

    .notification-title {
        font-size: 12px;
    }

    .notification-message {
        font-size: 11px;
    }

    .notification-icon {
        font-size: 13px;
        margin-right: 6px;
    }

    .notification-close {
        font-size: 14px;
        width: 16px;
        height: 16px;
    }
} 