﻿body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, #0b1c2d, #003d66, #00789c, #00c7e6);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animación para que el degrade se mueva suavemente */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background-color: white;
    padding: 3rem 3.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 450px;
}

.logo {
    width: 100px;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.4rem;
    color: #003d66;
    margin: 1rem 0 2rem;
}

.input-group {
    text-align: left;
    margin-bottom: 1rem;
}

    .input-group label {
        font-size: 1rem;
        color: #444;
    }

    .input-group input {
        width: 100%;
        padding: 0.8rem;
        margin-top: 0.25rem;
        border-radius: 10px;
        border: 1px solid #ccc;
        outline: none;
        font-size: 1rem;
        transition: border 0.3s ease;
    }

        .input-group input:focus {
            border-color: #00789c;
        }

button {
    background-color: #00789c;
    color: white;
    padding: 0.8rem;
    width: 100%;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    button:hover {
        background-color: #005f78;
    }

.extra-links {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

    .extra-links a {
        color: #00789c;
        margin: 0 0.5rem;
        text-decoration: none;
    }

        .extra-links a:hover {
            text-decoration: underline;
        }
