/* css/login.css — Portal de acceso EPOANCI */
:root {
  --azul-escudo: #3a7bd5;
  --azul-oscuro: #1d3557;
  --gradiente-epoanci: linear-gradient(135deg, #1d3557 0%, #3a7bd5 70%, #8fb339 100%);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  background: #f4f6f9;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ── Tarjeta central ── */
.login-container {
  background: #fff;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(29, 53, 87, 0.15);
  padding: 40px 35px;
  text-align: left;
}

/* ── Logo ── */
.header-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--gradiente-epoanci);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.25);
}

.header-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h2 {
  color: var(--azul-oscuro);
  font-size: 1.4rem;
  margin: 0 0 24px;
  font-weight: 700;
  text-align: center;
}

/* ── Campos de entrada ── */
.input-group {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.input-group input {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border: 1.5px solid #dde3ec;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  background: #f8fafd;
  color: #333;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.input-group input:focus {
  border-color: var(--azul-escudo);
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.12);
  background: #fff;
}

/* Íconos decorativos dentro de los campos */
.input-group > i {
  position: absolute;
  right: 14px;
  bottom: 13px;
  color: #999;
  font-size: 0.9rem;
  pointer-events: none;
}

/* El ojito SÍ recibe clics (sobreescribe pointer-events del CSS base) */
#btn_ver_password {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ── Botón de acceso ── */
.btn-login {
  width: 100%;
  padding: 13px;
  border: none;
  margin-top: 17px;
  border-radius: 10px;
  background: var(--gradiente-epoanci);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.25);
}

.btn-login:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-login:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .login-container { padding: 30px 22px; }
}
