:root {
  --brand-blue:  #1481C5;
  --brand-lime:  #DBFE87;
  --bg:          #0B132B;
  --bg-2:        #0F1834;
  --card:        rgba(255, 255, 255, 0.04);
  --border:      rgba(255, 255, 255, 0.10);
  --text:        #ffffff;
  --text-dim:    rgba(255, 255, 255, 0.60);
  --bad:         #FF6B6B;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Geologica', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(20, 129, 197, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 100%, rgba(20, 129, 197, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  pointer-events: none;
}

.login-wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
}

.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 44px 40px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.login-logo {
  height: 54px;
  width: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 0 16px rgba(20, 129, 197, 0.4));
}

.login-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.login-sub {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-top: 6px;
  margin-bottom: 28px;
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#password {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
#password:focus {
  border-color: var(--brand-blue);
  background: rgba(20, 129, 197, 0.08);
}
#password::placeholder { color: rgba(255, 255, 255, 0.35); }

#submit-btn {
  width: 100%;
  padding: 14px 16px;
  background: var(--brand-blue);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
#submit-btn:hover:not(:disabled) { background: #1a93dd; }
#submit-btn:active:not(:disabled) { transform: scale(0.98); }
#submit-btn:disabled { opacity: 0.6; cursor: default; }

.login-error {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: var(--bad);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-top: 4px;
}

.login-foot {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
