@import url(../components/normalize-css/normalize.css);
@import "https://fonts.googleapis.com/css?family=Roboto:400,700";

/*reset*/
*, *:after, *:before {
  box-sizing: border-box; 
}

/*cuerpo*/
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  background: #f4f6f9; 
  color: #333;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/*contenedor central*/
.page {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 40px 20px;
}

.container-center {
  width: 100%;
  max-width: 365px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*logo y texto*/
.logo-area {
  text-align: center;
  margin-bottom: 30px;
}

.logo-img {
  width: clamp(200px, 100%, 300px);
  height: auto;
  margin-bottom: 15px;
}

/*texto subtitulo*/
.subtitle {
  font-size: 13px; 
  text-transform: uppercase;
  letter-spacing: 0.8px; 
  color: #444; 
  font-weight: 500; 
  margin: 0;
}

/*formulario transparente*/
.form {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  box-shadow: none;
}

/*titulo*/
h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1c4b;
  margin: 0 0 25px;
  text-align: center; 
}

/*separador*/
hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin: 25px 0 20px; 
}

/*inputs*/
.control {
  margin-bottom: 20px;
  position: relative;
}

/*pildoras blancas*/
.input {
  width: 100%;
  padding: 18px 20px 18px 50px;
  border-radius: 50px;
  border: none; 
  background-color: #ffffff;
  font-size: 15px;
  color: #333;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: all .3s;
}

.input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #1a1c4b;
}

/*iconos*/
.icon-input {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 16px;
  z-index: 2;
  transition: color 0.3s;
}

.input:focus + .icon-input,
.control:focus-within .icon-input {
  color: #1a1c4b;
}

/*icono ojo*/
.icon-eye {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 16px;
  z-index: 2;
  cursor: pointer;
  transition: color 0.2s;
}

.icon-eye:hover {
  color: #1a1c4b;
}

.input-pswd {
  padding-right: 50px !important;
}

/*boton*/
.submit {
  margin-top: 30px; 
}

.button-block {
  width: 100%;
  padding: 18px;
  border-radius: 50px;
  border: none;
  background: #1a1c4b; 
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.button-block:hover {
  background: #111333;
}

.button-block:active {
  transform: scale(0.98);
}

/*enlaces*/
.forgot-link {
  text-align: center;
  margin-top: 15px;
}

.forgot-link a {
  color: #1a1c4b;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}

.forgot-link a:hover {
  text-decoration: underline;
}

/*pie*/
.copyright {
  text-align: center;
  width: 100%;
  padding: 15px;
  font-size: 12px;
}

.copyright p {
  color: #888;
  margin: 0px;
}

/*responsive*/
@media (max-width: 480px) {
  .form { padding: 30px 20px; }
  .page { padding: 20px 15px; }
}