/* Login (login-view.php): tarjeta de vidrio sobre fondo oscuro */
html, body { margin: 0; min-height: 100%; }
body.lg-body { background: #0b0524; }

.lg-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow: hidden;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: #fff;
  background:
    radial-gradient(circle at 30% 0%, #35008f 0, transparent 45%),
    radial-gradient(circle at 10% 55%, #2a0a7a 0, transparent 35%),
    radial-gradient(circle at 85% 85%, #2f6a80 0, transparent 40%),
    #0b0524;
}

.lg-card {
  width: 100%;
  max-width: 400px;
  padding: 44px 32px 36px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(160deg, rgba(110, 60, 200, .55), rgba(40, 30, 80, .55) 55%, rgba(70, 90, 120, .5));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
}

.lg-avatar {
  width: 128px;
  height: 128px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: rgba(255, 255, 255, .7);
}

.lg-logo { height: 90px; max-width: 100%; margin-bottom: 24px; }

.lg-error { color: #ff9aa8; font-weight: 600; font-size: 13px; margin: 0 0 14px; }

.lg-field {
  position: relative;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
}
.lg-field i { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 15px; }
.lg-field input {
  width: 100%;
  padding: 14px 4px 12px 38px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
}
.lg-field input::placeholder { color: rgba(255, 255, 255, .6); }
.lg-field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  transition: background-color 9999s;
}
.lg-field:focus-within { border-bottom-color: #fff; }

.lg-btn {
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #3a00a8, #6a28e8);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(80, 30, 200, .45);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.lg-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(80, 30, 200, .6); }
