:root {
  --bg: #071421;
  --ink: #0b1720;
  --muted: #8aa0ad;
  --surface: rgba(255, 255, 255, 0.96);
  --line: rgba(137, 157, 166, 0.34);
  --accent: #00aeb8;
  --accent-dark: #00818c;
  --navy: #071421;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--navy);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('assets/vetrix/robot-background-market-wide.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.35;
  z-index: 0;
}

.login-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: min(420px, 100%);
}

.brand-logo {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

.auth-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-title { text-align: center; margin-bottom: 4px; }
.auth-title p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
}
.auth-title h1 { margin: 4px 0 0; font-size: 22px; color: var(--ink); }

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #45525c;
}

input {
  font-size: 15px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

button {
  margin-top: 6px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
button:hover { background: var(--accent-dark); }
button:disabled { opacity: 0.6; cursor: progress; }

.message { margin: 0; min-height: 18px; font-size: 13px; font-weight: 700; color: #b44242; text-align: center; }
