/* =====================
   login.css — login page styles
   ===================== */

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 360px;
}

.logo {
  margin-bottom: 32px;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-icon svg {
  width: 16px;
  height: 16px;
}

.logo-text {
  font-size: 16px;
}

h2 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.error-message {
  color: var(--red);
  font-size: 13px;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: var(--red-dim);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--radius-sm);
}

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

input::placeholder {
  color: var(--muted);
}

input:focus {
  border-color: rgba(74,222,128,0.4);
  background: #1c2030;
}

.submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.2s, opacity 0.15s, transform 0.1s;
}

.submit-btn:hover {
  background: rgba(74,222,128,0.18);
}

.submit-btn:active {
  transform: scale(0.98);
}

.footer-note {
  margin-top: 24px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
