﻿/* /assets/login-style.css */ 

/* ---- style de login.html ---- */ 


body {
    font-family: Arial, sans-serif;
    background-color: #071024;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}


/* Todos los inputs y el botón con el mismo ancho */
.login-container input,
.login-container button,
.password-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.login-container input,
.login-container button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.login-container button {
    background-color: #5c6bc0;
    color: white;
    border: none;
    font-size: 16px;
}

.login-container button:hover {
    background-color: #3f4c91;
}

.login-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-header img {
    width: 80px;
    margin-right: 20px;
}

.password-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.password-wrapper input {
    flex: 1;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

/* El ojo va al lado, no encima */
.toggle-eye {
    margin-left: 8px;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
    opacity: 0.7;
}

.toggle-eye:hover {
    opacity: 1;
}

/* Ocultar icono nativo del navegador */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-textfield-decoration-container {
    display: none;
}

input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
}

input[type="password"]::-webkit-password-toggle {
    display: none !important;
}

.footer {
    margin-top: 20px;
    color: #888;
    font-size: 14px;
}