/* =========================================================
   Armadillo Mobile Report - Login Page Styles
   File: css/login.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0F2A43;
  --navy-deep: #0A1E33;
  --blue: #2C6BAA;
  --green: #3F9142;
  --ivory: #F5F7FA;
  --text-soft: #5C6B7A;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy-deep);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

#netCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card {
  width: 100%;
  max-width: 440px;
  background: var(--ivory);
  border-radius: 18px;
  box-shadow: 0 30px 80px -25px rgba(0, 0, 0, 0.55);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.card-top {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 38px 36px 30px;
  text-align: center;
  position: relative;
}

.logo-mark {
  height: 64px;
  margin: 0 auto 14px;
  display: block;
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.eyebrow {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.card-body {
  padding: 32px 36px 34px;
}

.title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 22px;
}

.field {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 7px;
}

.code-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #D9E0E8;
  border-radius: 10px;
  background: #ffffff;
  transition: border-color 0.15s ease;
}

.code-input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 107, 170, 0.12);
}

.code-input-wrap .ico {
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

input[type="text"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 13px 14px 13px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  outline: none;
}

input[type="text"]::placeholder {
  font-weight: 400;
  color: #A6B1BD;
}

.error {
  margin-top: 7px;
  font-size: 12px;
  color: #C0392B;
  font-weight: 600;
  display: none;
}

.btn {
  width: 100%;
  display: block;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px;
  margin-top: 6px;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
  opacity: 0.92;
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-demo {
  flex: 1;
  background: #EAF3EA;
  color: var(--green);
}

.btn-demo:hover {
  background: #DDEEDD;
}

.btn-about {
  flex: 1;
  background: #EDF2F7;
  color: var(--text-soft);
}

.btn-about:hover {
  background: #E1E9F0;
}

.footer-note {
  margin-top: 22px;
  text-align: center;
  font-size: 11px;
  color: #A6B1BD;
}
