/**
 * Wingman App - Estilos para Notificaciones
 * Estilos para las notificaciones y mensajes de éxito/error
 */

/* Notificaciones personalizadas */
.custom-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    min-width: 280px;
    max-width: 350px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 9999;
    border-left: 4px solid #333;
}

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

.custom-notification i {
    font-size: 20px;
    margin-right: 12px;
}

.custom-notification span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.custom-notification .close-notification {
    background: none;
    border: none;
    color: #777;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    transition: color 0.2s;
}

.custom-notification .close-notification:hover {
    color: #333;
}

/* Tipos de notificación */
.custom-notification.notification-success {
    border-left-color: #22c55e;
    background: linear-gradient(to right, rgba(34, 197, 94, 0.1), rgba(255, 255, 255, 0.95));
}

.custom-notification.notification-success i {
    color: #22c55e;
}

.custom-notification.notification-error {
    border-left-color: #ef4444;
    background: linear-gradient(to right, rgba(239, 68, 68, 0.1), rgba(255, 255, 255, 0.95));
}

.custom-notification.notification-error i {
    color: #ef4444;
}

.custom-notification.notification-warning {
    border-left-color: #f59e0b;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.1), rgba(255, 255, 255, 0.95));
}

.custom-notification.notification-warning i {
    color: #f59e0b;
}

.custom-notification.notification-info {
    border-left-color: #3b82f6;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0.95));
}

.custom-notification.notification-info i {
    color: #3b82f6;
}

/* Estilos para el mensaje de éxito del formulario */
.success-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease-out;
}

.success-icon {
    font-size: 64px;
    color: #22c55e;
    margin-bottom: 20px;
    animation: scaleIn 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.success-message h3 {
    margin-bottom: 15px;
    color: #22c55e;
    font-size: 24px;
}

.success-message p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

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

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Estilos para el botón de envío durante la carga */
.btn-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-loading-spinner 0.8s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}
