body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../img/illustrations/fondo.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.3);
    width: 420px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 200px;
    margin: 0 auto 2rem;
    display: block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.form-control {
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.25);
    transform: translateY(-2px);
}

.btn-login {
    background: linear-gradient(45deg, #0056b3, #00a0ff);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    width: 100%;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    background: linear-gradient(45deg, #004094, #0088dd);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.3);
}

.form-label {
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.btn-outline-secondary{
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.password-toggle {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #0056b3;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #004094;
}

.alert {
    border-radius: 12px;
    margin-bottom: 2rem;
    padding: 1rem;
    border: none;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-5px);
    }

    40%,
    80% {
        transform: translateX(5px);
    }
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-icon {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    color: #0056b3;
    z-index: 10;
}



.welcome-text {
    text-align: center;
    color: #0056b3;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.connectivity-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}
