/* ===========================
   Zenti Admin - Login (estética idéntica al sitio normal)
   =========================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, sans-serif;
  background: #4a8cc4;
  background: linear-gradient(180deg, #5a9bd4 0%, #4a8cc4 50%, #3d7eb8 100%);
  color: #ffffff;
  min-height: 100vh;
  font-size: 12px;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Top login bar — mismo diseño que zenti.vip */
.top-bar {
  width: 100%;
  padding: 14px 30px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.login-form { display: flex; flex-direction: column; width: 580px; }

.login-row {
  display: grid;
  grid-template-columns: 220px 220px auto;
  column-gap: 12px;
  align-items: center;
}
.login-row-labels { margin-bottom: 4px; }

.field-label { font-size: 12px; color: #ffffff; font-weight: normal; }

.login-row-inputs input[type="email"],
.login-row-inputs input[type="password"] {
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  border: 1px solid #2c5d8a;
  border-radius: 10px;
  background: #ffffff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.login-row-inputs input:focus {
  border-color: #1a4870;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.2);
}

.btn-entrar {
  height: 40px;
  padding: 0 28px;
  background: linear-gradient(180deg, #8ec5e8 0%, #6db0db 50%, #5aa3d2 100%);
  color: #ffffff;
  border: 1px solid #3d7eb8;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  justify-self: start;
}
.btn-entrar:hover {
  background: linear-gradient(180deg, #9ed0ed 0%, #7dbae0 50%, #6aaed7 100%);
}

.login-error {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(255, 80, 80, .15);
  border: 1px solid rgba(255, 80, 80, .35);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  max-width: 480px;
}

/* Bloque central simple */
.admin-landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 200px;
}

.admin-landing-logo { margin-bottom: 24px; }
.admin-landing-logo .isologo {
  height: 120px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.admin-landing h1 {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 14px;
}

.admin-landing-text {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
}
.admin-landing-text a {
  color: #fff;
  text-decoration: underline;
}

/* Footer */
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 30px;
  background: rgba(58, 120, 175, 0.4);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright { font-weight: bold; color: #ffffff; font-size: 14px; }

.footer-text-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
}
.footer-text-link:hover { text-decoration: underline; color: #ffffff; }

@media (max-width: 900px) {
  .top-bar { padding: 10px; }
  .login-form { width: 100%; max-width: 580px; }
  .login-row { grid-template-columns: 1fr 1fr auto; }
}
