table th > select {
    width: 100%;
}

/* ============================================
   LOGIN - NUEVO DISEÑO
   ============================================ */

/* Fondo blanco */
body.login-page {
    background: #ffffff;
    min-height: 100vh;
}

/* Ocultar el menú superior en el login */
body.login-page #menu {
    background: transparent;
    position: relative;
    z-index: 10;
}

/* Contenedor principal */
body.login-page #main-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 60px;
}

/* Caja del login */
#login_container {
    background: rgba(52, 100, 175, 0.82);
    border-radius: 18px;
    padding: 36px 48px 32px 48px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    color: #fff;
    position: relative;
    margin-top: 80px;
}

/* Logo encima del título */
#login_logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

#login_logo img {
    max-height: 60px;
    max-width: 280px;
    object-fit: contain;
}

/* Título INICIO DE SESIÓN */
#login_titulo {
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* Selector de idioma dentro del contenedor */
#login_lang_selector {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Etiquetas de los campos */
.label_login {
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* Iconos delante de las etiquetas */
.login_login::before {
    content: '👤 ';
}

.login_password::before {
    content: '✔ ';
}

/* Campos de texto */
.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="date"] {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 6px;
    color: #fff;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 4px;
    transition: border 0.2s;
}

.login-form input[type="text"]::placeholder,
.login-form input[type="password"]::placeholder,
.login-form input[type="date"]::placeholder {
    color: rgba(255,255,255,0.6);
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

/* Párrafos de los campos */
.center_only_dev {
    margin-bottom: 18px;
}

/* Botón ACCEDER */
.btn_submit {
    display: block;
    width: 55%;
    margin: 10px auto 0 auto;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn_submit:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* Enlace "He olvidado mi contraseña" */
.password-forgot {
    text-align: right;
    margin-top: 16px;
}

.password-forgot a {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    text-decoration: none;
}

.password-forgot a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Centrar el párrafo del botón */
p.center {
    text-align: center;
}

/* Footer blanco conservado */
body.login-page #languages {
    background: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
    padding: 8px 20px;
}
