/* CSS Document */
/*
 * General Styles
 * Estos estilos aplican a toda la página
 */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1abc9c, #3498db);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}

/*
 * Container for the Login Form
 * Estilos para el contenedor principal
 */
.login-container {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    text-align: center;
}

/*
 * Title Styles
 */
h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    color: #34495e;
}

/*
 * Input Field Group
 * Estilos para cada grupo de input y label
 */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #3498db;
    outline: none;
}

/*
 * Submit Button Styles
 */
button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #3498db;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

button:hover {
    background-color: #2980b9;
}

button:active {
    transform: scale(0.98);
}

/*
 * Estilos para los mensajes de error
 */
.error-message {
    color: #e74c3c;
    margin-top: 15px;
    font-size: 14px;
}
