/* Estilos generales */
/*body {
    background: linear-gradient(135deg, #007BFF, #00d4ff);
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #fff;
}*/

/* Contenedor principal del login */
/*.login-container {
    background: rgba(255, 255, 255, 0.85);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 450px;
    position: relative;
    color: #333;
    backdrop-filter: blur(15px);
    animation: fadeInScale 0.8s ease-out;
}*/

/*body {
    background-image: url('{{ asset("images/untIndustr.jpg") }}');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #fff;
}*/

/* Contenedor principal del login */
.login-container {
    background: rgba(255, 255, 255, 0.479); /* Fondo blanco semi-transparente */
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 450px;
    position: relative;
    color: #333;
    backdrop-filter: blur(15px);
    animation: fadeInScale 0.8s ease-out;
}

/* Nuevas animaciones */
@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Estilo del logo mejorado */
.logo-container {
    position: absolute;
    top: -60px;
    left: calc(50% - 50px);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #007BFF, #00d4ff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.logo-container img {
    width: 150%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Título */
.text-center {
    text-align: center;
    margin-bottom: 30px;
    color: #007BFF;
    font-size: 24px;
    font-weight: bold;
}

/* Campos del formulario mejorados */
.form-group {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #007BFF;
}

input[type="email"], input[type="password"] {
    width: 93%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 16px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

input[type="email"]:focus, input[type="password"]:focus {
    border-color: #007BFF;
    box-shadow: 0 0 0 4px rgba(0,123,255,0.2);
    transform: translateY(-2px);
}

/* Botón mejorado */
.btn-primary {
    background: linear-gradient(45deg, #007BFF, #0056b3);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.2);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004094);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Efecto de onda al hacer click en el botón */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.btn-primary:active::after {
    width: 400px;
    height: 400px;
}

/* Mensaje de error */
.text-danger {
    color: #dc3545;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .login-container {
        width: 90%;
        margin: 20px;
    }

    .logo-container {
        top: -40px;
        width: 60px;
        height: 60px;
    }
}

@keyframes slideInDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.notification.success {
    background-color: #28a745; /* Verde para éxito */
}

.notification.error {
    background-color: #dc3545; /* Rojo para error */
}
