* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
}

.container {
    width: 400px; /* Ancho más grande */
    height: 500px; /* Altura más grande */
    position: relative;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px 20px; /* Añade padding para espaciar el contenido */
    overflow: hidden;
}

.form-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* Padding interno para más espacio en los lados */
    transition: transform 0.5s ease;
}

.logoLogin {
    width: 30%;
    margin-bottom: 5%;
}


.hidden {
    display: none;
}

h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5em;
}

form {
    width: 100%;
}

label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px; /* Aumentar el padding */
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #177AA1;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color:  #d5d5d5;
    color: #222222;
}

.toggle-link {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.toggle-link a {
    color: #177AA1;
    text-decoration: none;
}

.toggle-link a:hover {
    text-decoration: underline;
}

.slide-up {
    transform: translateY(-100%);
}

.slide-down {
    transform: translateY(100%);
}

/* Resto del código CSS permanece igual */

/* Estilos para el modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #177AA1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: #d5d5d5;
    color: #222222;
}

