/* Reset inicial */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos globales del cuerpo y contenedor principal */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: calc(100% - 64px);
    max-width: 980px;
    margin: 20px auto;
    padding: 48px 32px 36px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    flex-grow: 1;
}

/* Estilos para la barra de progreso */
.progress-container {
    width: 300px;
    height: 25px;
    background-color: #f0f0f0;
    margin: 15px auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ccc;
    position: relative;
}

.progress-bar {
    height: 100%;
    background-color: #4CAF50;
    border-radius: 10px;
}

.progress-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    line-height: 25px;
}

/* Estilos del Footer */
.footer {
    text-align: center;
    padding: 0.5rem;
    background-color: #f0f0f0;
    margin-top: 0.5rem;
    font-size: clamp(0.8rem, 1.5vw, 0.85rem);
}

/* Sticky Footer con Flexbox */
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* AsegÃƒÂºrate que no haya otros estilos que interfieran con min-height en body o html */ 

/* Estilos Responsivos para mÃƒÂ³viles */
@media (max-width: 600px) {
    .container {
        padding: 10px; /* Reducir padding en mÃƒÂ³viles */
        margin: 10px auto; /* Reducir margen en mÃƒÂ³viles */
        width: 90%;
    }

    .footer {
        padding: 15px; /* Ligeramente menos padding en el footer */
        font-size: 0.8em; /* Fuente mÃƒÂ¡s pequeÃƒÂ±a en el footer */
    }

    h1 {
        font-size: 1.5em; /* Ajustar tamaÃƒÂ±o de H1 para mÃƒÂ³viles si es necesario */
    }
} 

/* Estilos para el formulario de login */
.login-container {
    max-width: 320px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    background: transparent;
    box-shadow: none;
}

.login-container h2 {
    margin-bottom: 25px;
    color: #1a202c;
    font-size: 28px;
    font-weight: 700;
}

.login-form {
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.center-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 16px;
    text-align: center;
}

.form-group input {
    width: 100%;
    max-width: 280px;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
    margin: 0 auto;
}

.form-group input:focus {
    outline: none;
    border-color: #0069d9;
    box-shadow: 0 0 0 3px rgba(0, 105, 217, 0.2);
}

.form-error {
    color: #dc3545;
    margin-top: 5px;
    font-size: 14px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: left;
    border-left: 4px solid #dc3545;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: block;
    width: 100%;
    max-width: 280px;
    padding: 10px;
    background-color: #0069d9;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    margin: 10px auto 0;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.password-reset {
    margin-top: 20px;
    text-align: center;
}

.password-reset a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
}

.password-reset a:hover {
    text-decoration: underline;
    color: #0069d9;
} 

