/* General */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Contenedor del formulario */
.form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 350px;
}

/* Logo */
.logo {
    width: 60px;
    margin-bottom: 20px;
}

/* Título */
h2 {
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

/* Estilo de etiquetas */
label {
    font-weight: 500;
    display: block;
    text-align: left;
    margin-top: 15px;
    color: #555;
}

/* Campos de entrada */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Botones */
input[type="submit"] {
    background-color: #007bff;
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Mensajes de error */
.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    font-size: 14px;
    text-align: left;
}

/* Enlace para iniciar sesión */
.inicio-sesion-texto {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.inicio-sesion-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.inicio-sesion-link:hover {
    text-decoration: underline;
}

/* Responsividad */
@media (max-width: 400px) {
    .form-container {
        padding: 15px;
    }

    h2 {
        font-size: 18px;
    }
}

.google-login-container {
    margin-top: 20px;
    padding: 12px;
    border-top: 1px solid #ddd;
    text-align: center;
}

#google-button {
    display: inline-block;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#google-button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}