body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle, #EA1B36, #8B0E24);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-box {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 100%;
    position: relative;
    border: 2px solid #e1e1e1; 
}

@media (max-width: 768px) { /* Esto afectará a las pantallas con un ancho máximo de 768px */
    .login-box {
        width: 80%; /* En pantallas más pequeñas, el box tendrá el 80% del ancho */
        margin: 10% auto; /* Esto centrará el box y dará un margen superior e inferior del 10% */
    }
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    border-color: #EA1B36;
    outline: none;
}

input[type="text"], input[type="email"], input[type="password"], button {
    box-sizing: border-box;
}

select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

select:focus {
    border-color: #EA1B36;
    outline: none;
}

button {
    padding: 10px 15px;
    background-color: #EA1B36;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 20px auto;
    width: 100%;
    text-align: center;
    font-weight: bold !important;
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
    margin-bottom: 25px;
}

.logo-container {
    width: 76%;  /* El contenedor toma el ancho completo disponible */
    margin-left: 12%;
    max-width: 529px;  /* El ancho máximo será el ancho original de la imagen */
    padding-top: calc(115/529*100%); /* Se usa para mantener la proporción de la imagen (altura original/ ancho original * 100) */
    position: relative;
    margin: 20px auto;  /* Centra horizontalmente */
    overflow: hidden;  /* Si la imagen intenta salirse, esta propiedad cortará el exceso */
    margin-bottom: 0px;
}

.logo-container img {
    position: absolute; /* Permite que la imagen se superponga sobre el padding-top del contenedor */
    top: 0;
    left: 0;
    width: 100%; /* Asegura que el logo ocupe el ancho completo del contenedor */
    height: auto; /* Mantiene la proporción original de la imagen */
}

.registrar-usuario{
    text-decoration: none;
    color: #EA1B36;
    font-weight: bold;
}