:root {
  --bg-1: #60a5fa;
  --bg-2: #2563eb;
  --glass: rgba(255, 255, 255, 0.10);
  --accent: linear-gradient(135deg, #1e3a8a, #3b82f6);
  --muted: rgba(255, 255, 255, 0.7);
  --success: #10b981;
  --danger: #ef4444;
  --radius: 14px;
}

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

html,
body {
  height: 100%
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  display: flex;
}

/* CONTENEDOR PRINCIPAL */

.container {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* LADO IZQUIERDO */

.left {
  width: 50%;
  background-image: url("../img/login-bg.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /*background-color:rgb(138, 185, 242); /* azul cielo */
  background-color: #60a5fa;
  /* azul cielo */
}

/* LADO DERECHO */

.right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
background: rgb(245,248,250);
  /*
  background: radial-gradient(1200px 600px at 10% 10%, rgba(30, 58, 138, 0.12), transparent),
    radial-gradient(900px 400px at 90% 90%, rgba(59, 130, 246, 0.10), transparent),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));

    */
}

/* TARJETA LOGIN (DEL PRIMER DISEÑO) */

.card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform-origin: center;
  transition: transform 350ms cubic-bezier(.2, .9, .2, 1), box-shadow 350ms;
  background: linear-gradient(180deg,var(--bg-1),var(--bg-2));
}

.card:hover {
  transform: translateY(-6px) scale(1.006);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.72);
}

/* LOGO */

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 18px;
}

.logo {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: white;
  box-shadow: 0 6px 18px rgba(12, 20, 40, 0.6);
}

.brand {
  margin-top: 10px;
  font-weight: 600;
  /*color: var(--muted);*/
  color: white;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 18px
}

/* FORMULARIO */

form {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.field {
  position: relative;
}

/* INPUTS */

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 18px 48px 18px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  outline: none;
  font-size: 15px;
  transition: box-shadow .18s ease, transform .12s ease, border-color .12s;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.25)
}

input:focus {
  box-shadow: 0 6px 18px rgba(10, 27, 79, 0.6);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px)
}

/* LABEL FLOTANTE */

label.floater {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  transition: all .14s ease;
}

input:focus+label.floater,
input:not(:placeholder-shown)+label.floater {
  top: 8px;
  left: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

/* ICONOS */

.icon-right {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
}

/* ACCIONES */

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px
}

.remember {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px
}

/* BOTON */

.btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 0;
  background: var(--accent);
  font-weight: 600;
  color: white;
  cursor: pointer;
  font-size: 15px;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 8px 24px rgba(7, 12, 30, 0.45);
}

/* LINEA */

.sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 12px 0;
}

/* RESPONSIVE */

@media (max-width:900px) {

  .left {
    display: none;
  }

  .right {
    width: 100%;
  }

}