:root {
  --bg: #0b0f1a;
  --card: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.15);
  --text: #ffffff;
  --muted: #9aa4bf;
  --accent: linear-gradient(135deg,#00f2fe,#4facfe);
  --error: #ff5f6d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui;
}

body {
  height: 100vh;
  background: radial-gradient(circle at top,#111632,#050710);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

/* WRAPPER */
.login-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* CARD */
.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* TITLE */
.login-card h1 {
  text-align: center;
  font-size: 30px;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  text-align: center;
  margin-top: 6px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--muted);
}

/* FORM */
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 14px;
  outline: none;
}

input:focus {
  border-color: #4facfe;
}

/* BUTTON */
button {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  margin-top: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(79,172,254,0.4);
}

/* ERROR */
.error {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--error);
}

/* KPI CARD AS LINK */
.link-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.4);
}
