:root {
  --text: #10152b;
  --muted: #6e7890;
  --line: rgba(255, 255, 255, 0.56);
  --blue: #3178f6;
  --green: #28b58d;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.liquid_glass_login {
  background:
    radial-gradient(circle at 18% 18%, rgba(49, 120, 246, 0.38), transparent 28%),
    radial-gradient(circle at 78% 22%, rgba(40, 181, 141, 0.28), transparent 30%),
    radial-gradient(circle at 52% 88%, rgba(247, 183, 53, 0.22), transparent 28%),
    linear-gradient(135deg, #eef5ff, #f7fbff 45%, #eef8f5);
  overflow: hidden;
}

.login-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.login-card {
  width: min(430px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 30px 100px rgba(23, 38, 78, 0.18);
  backdrop-filter: blur(26px) saturate(145%);
  padding: 34px;
  position: relative;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 17px;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.12));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.login-brand {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.login-brand span {
  width: 72px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1d63ed, #62a2ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(49, 120, 246, 0.28);
}

.login-brand h1 {
  margin: 4px 0 0;
  font-size: 30px;
  line-height: 1.2;
}

.login-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  color: #46536b;
  font-weight: 850;
  display: grid;
  gap: 8px;
}

.login-form input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(223, 231, 245, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  padding: 0 14px;
  outline: none;
  font: inherit;
}

.login-form input:focus {
  border-color: rgba(49, 120, 246, 0.58);
  box-shadow: 0 0 0 4px rgba(49, 120, 246, 0.12);
}

.password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 8px;
}

.password-row button {
  border: 1px solid rgba(223, 231, 245, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #506078;
  font-weight: 850;
}

.remember-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px !important;
}

.remember-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.login-button {
  height: 50px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #45a4ff);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(49, 120, 246, 0.26);
}

.login-message {
  min-height: 22px;
  margin: 0;
  color: #d04444;
  font-weight: 800;
}
