/* Estilos para notificaciones de éxito especiales */
.success-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 90%;
    width: 400px;
    border-left: 5px solid var(--datafast-success);
}

.success-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.success-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(12, 170, 65, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.success-icon i {
    color: var(--datafast-success);
    font-size: 30px;
}

.success-content {
    flex: 1;
}

.success-content h3 {
    color: var(--datafast-success);
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.success-content p {
    color: #555;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Animación para la notificación */
@keyframes success-pulse {
    0% { box-shadow: 0 0 0 0 rgba(12, 170, 65, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(12, 170, 65, 0); }
    100% { box-shadow: 0 0 0 0 rgba(12, 170, 65, 0); }
}

.success-notification .success-icon {
    animation: success-pulse 2s infinite;
}

/* Contenedor para notificaciones */
#success-notification-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#success-notification-container .success-notification {
    pointer-events: auto; /* Permitir interacción con las notificaciones */
    position: relative; /* Para posicionar el botón de cierre */
    cursor: pointer;
}

/* Estilo para el botón de cierre */
.notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2;
}

.notification-close:hover {
    color: #333;
}

/* Efecto hover para notificación */
.success-notification:hover {
    transform: translate(-50%, -50%) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}
