/* =========================================================
   ARCOS DECORATIVOS DE FONDO — idénticos a la referencia
   ========================================================= */

.background{
  background-image: url('../images/trazo.svg');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh; 
}

/* =========================================================
   LAYOUT DE PÁGINA
   ========================================================= */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 20px 16px;
}

/* =========================================================
   LOGO / MARCA EN LA PARTE SUPERIOR
   ========================================================= */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #1A1A2E;
}
.brand__name {
  font-size: 1.125rem;
  font-weight: 800;
  color: #1A1A2E;
  letter-spacing: -0.02em;
}

/* =========================================================
   TÍTULO DE PÁGINA
   ========================================================= */
.page-title {
  font-size: 1.75rem;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 22px;
  margin-top: 1.5rem;
}

/* =========================================================
   BANNER INFORMATIVO
   ========================================================= */
.banner {
  width: 100%;
  max-width: 520px;
  background: #D9EEF7;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  border: 1px solid #047ea3;
}
.banner__icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(13,122,154,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0D7A9A;
}
.banner__body { flex: 1; }
.banner__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 3px;
}
.banner__text {
  font-size: 0.8125rem;
  color: #000000;
  line-height: 1.55;
  margin-bottom: 4px;
}
.banner__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #000000;
  text-decoration: underline;
}
.banner__link:hover { opacity: 0.75; }

/* =========================================================
   CARD DE ACCESO
   ========================================================= */
.card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  padding: 38px 44px 32px;
  text-align: center;
}

.card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.card__subtitle {
  font-size: 0.9375rem;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 28px;
}
.card__subtitle a {
  color: #000000;
  text-decoration: none;
}
.card__subtitle a:hover { text-decoration: underline; }

/* Campos del formulario */
.field {
  position: relative;
  text-align: left;
  margin-bottom: 4px;
}
.field__icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #000000;
  width: 18px; height: 18px;
  pointer-events: none;
}
.field__input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #000000;
  padding: 11px 10px 11px 28px;
  font-size: 0.9375rem;
  color: #000000;
  background: transparent;
  outline: none;
  font-family: var(--font-family);
  transition: border-color 150ms;
}
.field__input:focus { border-bottom-color: #000000; }
.field__input::placeholder { color: #000000; }

.field__helper {
  display: block;
  font-size: 0.75rem;
  color: #000000;
  text-align: left;
  margin-top: 2px;
  margin-bottom: 22px;
  text-decoration: none;
}
.field__helper:hover { text-decoration: underline; }

/* Botón iniciar sesión */
.btn-login {
  width: 100%;
  padding: 14px;
  background: #CCCCCC;
  color: #999;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-family);
  border: none;
  border-radius: 100px;
  cursor: not-allowed;
  margin-bottom: 18px;
  margin-top: 4px;
}

/* Link crear usuario */
.link-register {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-register:hover { color: #111; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  margin-top: auto;
  padding-top: 32px;
  width: 100%;
  max-width: 860px;
  text-align: center;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 6px;
}
.footer__links a {
  font-size: 0.75rem;
  color: #000000;
  text-decoration: none;
}
.footer__links a:hover { text-decoration: underline; }
.footer__sep {
  font-size: 0.75rem;
  color: #000000;
  user-select: none;
}

/* Barra inferior: logo pequeño + IP */
.bottom-bar {
  width: 100%;
  max-width: 860px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 12px 0 6px;
  margin-top: 6px;
}
.bottom-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.bottom-brand__name {
  font-size: 0.75rem;
  font-weight: 800;
  color: #555;
}
.bottom-brand__vigilado {
  font-size: 0.625rem;
  color: #888;
  text-transform: uppercase;
  line-height: 1.3;
}
.bottom-info {
  font-size: 0.6875rem;
  color: #000000;
  text-align: right;
  line-height: 1.55;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 600px) {
  .card { padding: 28px 22px 24px; }
  .page-title { font-size: 1.375rem; }
  .arc--l1 { width: 600px; height: 600px; bottom: -200px; left: -260px; }
  .arc--l2 { width: 490px; height: 490px; bottom: -155px; left: -205px; }
  .arc--r1 { width: 480px; height: 480px; top: -180px; right: -160px; }
  .arc--r2 { width: 380px; height: 380px; top: -135px; right: -120px; }
  .arc--purple { display: none; }
  .bottom-bar { flex-direction: column; align-items: center; gap: 8px; }
  .bottom-info { text-align: center; }
}
