:root {
  --main-gradient: linear-gradient(135deg,#4938ff 0%,#2dd4fb 100%);
  --main-dark: #171e30;
  --card-bg: #fff;
  --shadow: 0 8px 32px #4938ff24;
  --input-bg: #f7faff;
  --input-border: #c7dbff;
}

html, body {
  height: 100%; min-height: 100vh;
  font-family: 'Inter', Arial, sans-serif;
  background: #eaf1ff;
  margin: 0; padding: 0;
}

.login-root {
  display: flex;
  min-height: 100vh;
}

/* --- ILUSTRACION --- */
.login-illustration {
  flex: 1.35;
  position: relative;
  background: var(--main-gradient);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 380px;
  overflow: hidden;
}
.circle-bg {
  position: absolute;
  width: 540px; height: 540px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  top: 17%; left: -10%;
  filter: blur(6px);
  z-index: 0;
}
.logo-landing {
  width: 65px; height: 65px;
  border-radius: 13px;
  box-shadow: 0 4px 16px #2dd4fb49;
  margin-bottom: 18px;
  z-index: 1;
}
.brand {font-size: 2.4rem; font-weight: 800; letter-spacing: -.5px; margin: 0 0 7px 0;}
.desc {font-size: 1.08rem; margin: 0 0 28px 0; color:#f0f4fa; opacity:.92;}
.svg-illu img {
  width: 340px; max-width: 80vw; margin-bottom: 12px;
  z-index: 1;
  user-select: none;
}

/* --- LOGIN CARD --- */
.login-form-side {
  flex: 1;
  display: flex; justify-content: center; align-items: center;
  background: #f8faff;
  min-width: 320px;
}
.login-card {
  width: 340px; max-width: 92vw;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 34px 36px 24px 36px;
  display: flex; flex-direction: column;
  gap: 10px;
  animation: fadeIn 0.8s cubic-bezier(.7,0,.28,1);
}
@keyframes fadeIn {
  from {transform:translateY(34px) scale(.95); opacity:0;}
  to   {transform:translateY(0) scale(1); opacity:1;}
}

.login-card h2 {
  margin: 0 0 6px 0; font-weight: 700; font-size: 2.1rem; color: #4938ff;
  letter-spacing: -.02em;
}
.login-card .subtitle {
  color: #425377; margin-bottom: 18px; font-size: 1.09em;
}

.form {
  display: flex; flex-direction: column; gap: 10px;
}
.input, .form input[type="text"], .form input[type="password"] {
  width: 100%;
  border-radius: 9px;
  border: 1.5px solid var(--input-border);
  padding: 11px 12px;
  background: var(--input-bg);
  font-size: 1em;
  transition: border 0.19s;
}
.input:focus { border-color: #4938ff; outline: none;}

.input-group {
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border-radius: 9px;
  border: 1.5px solid var(--input-border);
  overflow: hidden;
}
.input-group input { border: none; background: transparent; flex: 1;}
.input-group .show {
  background: transparent;
  border: none;
  padding: 0 10px;
  cursor: pointer;
  color: #425377;
}
.btn.primary {
  background: linear-gradient(90deg,#4938ff,#2dd4fb);
  color: #fff; font-weight: 700;
  border: none; border-radius: 8px;
  padding: 13px 0; font-size: 1.08em;
  margin-top: 8px;
  box-shadow: 0 2px 10px #4938ff16;
  cursor: pointer; letter-spacing: .01em;
  transition: background .19s;
}
.btn.primary:hover { background: linear-gradient(90deg,#2dd4fb,#4938ff); }

.signup {
  margin-top: 22px; font-size: .96em;
}
.link {
  color: #2dd4fb; text-decoration: none; font-weight: 600;
}
.link:hover { color: #4938ff; text-decoration: underline; }
.row.aux {
  display: flex; justify-content: flex-end; margin-top: 0;
}
.muted { color: #8d96a8; font-size:.97em; }
@media (max-width: 950px) {
  .login-root { flex-direction: column;}
  .login-illustration { min-height: 200px; flex:unset; height: 330px;}
  .login-form-side { min-width: unset;}
}
@media (max-width: 700px) {
  .login-illustration {display:none;}
  .login-form-side {flex:1;}
}
