/*  Login  */
.login-box {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; width: 100%; max-width: 340px;
}
#login-form { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 8px; }
.login-field { display: flex; flex-direction: column; gap: 4px; }
.login-field label { font-size: 0.68rem; color: #80a080; letter-spacing: 1px; }
.login-field input {
  padding: 10px 14px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 6px;
  color: #e0e0e0; font-size: 0.9rem; outline: none; font-family: inherit;
}
.login-field input:focus { border-color: rgba(255,255,255,0.38); }
#login-error { color: #ff8080; font-size: 0.72rem; min-height: 1.1em; text-align: center; }
#login-reconnect {
  display: none; flex-direction: column; align-items: center; gap: 16px;
  padding: 8px 0;
}
#login-reconnect p { font-size: 0.85rem; color: #80a080; }
.btn-local-dev {
  min-height: 38px;
  border: 1px dashed rgba(240,192,64,0.38);
  border-radius: 6px;
  background: rgba(240,192,64,0.08);
  color: #f0c040;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
}
.btn-local-dev:hover { background: rgba(240,192,64,0.14); }
.spinner {
  width: 32px; height: 32px;
  border: 3px solid #2d5a3a;
  border-top-color: #4a9a5a;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/*  Dev Tools  */
.dev-tools {
  position: fixed; bottom: 16px; left: 16px;
  background: rgba(8, 8, 18, 0.9); border: 1px solid #2a2a4a;
  border-radius: 8px; padding: 10px; z-index: 800;
  font-family: 'Courier New', monospace; font-size: 11px;
  color: #b0b0c8; min-width: 168px; backdrop-filter: blur(6px);
  display: none;
}
.dev-tools-header {
  font-size: 11px; color: #6070a0; margin-bottom: 8px;
  cursor: pointer; user-select: none;
  display: flex; justify-content: space-between; align-items: center;
}
.dev-tools-header:hover { color: #90a0c8; }
.dev-tools-body { display: flex; flex-direction: column; gap: 6px; }
.dev-tools-body.collapsed { display: none; }
.dev-btn {
  padding: 5px 10px; background: #12122a; color: #80aaff;
  border: 1px solid #2a2a5a; border-radius: 4px; cursor: pointer;
  font-size: 11px; font-family: 'Courier New', monospace;
  text-align: left; width: 100%; transition: background 0.12s;
}
.dev-btn:hover { background: #1e1e3e; }
.dev-row { display: flex; gap: 4px; align-items: center; }
.screen:not(.active) .dev-tools { display: none !important; }
.dev-input-num {
  width: 38px; background: #0a0a18; border: 1px solid #2a2a5a;
  border-radius: 4px; color: #b0b0c8; font-size: 11px;
  padding: 4px; text-align: center; font-family: 'Courier New', monospace;
}

/*  SEO Section  */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
#screen-login { overflow-y: auto; }
.seo-section {
  width: 100%; max-width: 600px; margin: 28px auto 0;
  padding: 0 20px; text-align: center;
}
.seo-tagline {
  font-size: 1rem; color: #c0dcc0; margin: 0 0 10px;
  letter-spacing: 1px; font-weight: 400;
}
.seo-desc {
  font-size: 0.75rem; color: #5a8a6a; line-height: 1.65;
  margin: 0 auto 20px; max-width: 480px;
}
.seo-cards {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.seo-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 14px 10px;
  flex: 1; min-width: 140px; max-width: 175px;
}
.seo-card-label {
  font-size: 0.72rem; color: #6a9a6a; font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 5px;
}
.seo-card p {
  font-size: 0.65rem; color: #507050; line-height: 1.5; margin: 0;
}
