/* Login page — pit wall sign-in */

body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg, #0b0e12);
  padding: 24px;
}

.login-wrap {
  width: min(420px, 100%);
  background: var(--panel, #1a1d24);
  border: 1px solid var(--border, #2a3040);
  border-radius: 8px;
  padding: 28px 28px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.login-logo {
  display: block;
  max-width: 280px;
  height: auto;
  margin: 0 auto 18px;
  background: #000;
  padding: 8px 12px;
  border-radius: 4px;
  box-sizing: border-box;
}

.login-logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 72px;
  margin: 0 auto 18px;
  border: 1px dashed rgba(200, 200, 200, 0.45);
  border-radius: 4px;
  background: #141414;
  color: rgba(200, 200, 200, 0.75);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.login-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text, #e8eaed);
}

.login-sub {
  margin: 0 0 22px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim, #9aa0a8);
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.login-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim, #9aa0a8);
}

.login-field input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 4px;
  border: 1px solid var(--border, #2a3040);
  background: var(--bg, #12151a);
  color: var(--text, #e8eaed);
  font-size: 15px;
}

.login-field input:focus {
  outline: 2px solid var(--cyan, #0a9e8e);
  outline-offset: 1px;
}

.login-btn {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  background: var(--accent, #c41e3a);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.login-btn:hover { filter: brightness(1.08); }
.login-btn:disabled { opacity: 0.6; cursor: wait; }

.login-error {
  min-height: 20px;
  margin: 0 0 12px;
  text-align: center;
  font-size: 13px;
  color: #f87171;
}

.login-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  color: var(--text-dim, #9aa0a8);
}

.login-warning {
  margin: 20px 0 0;
  padding: 10px 12px;
  border: 1px solid #5b2230;
  border-left: 3px solid var(--accent, #c41e3a);
  border-radius: 4px;
  background: rgba(196, 30, 58, 0.08);
  font-size: 11px;
  line-height: 1.5;
  color: #f0b8c0;
  text-align: left;
}

.login-warning strong {
  display: block;
  margin-bottom: 4px;
  color: #f87171;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-warning .login-owner {
  display: inline;
  text-transform: none;
  letter-spacing: 0;
}

.login-corner {
  position: fixed;
  bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(154, 160, 168, 0.6);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.login-corner-left { left: 8px; }
.login-corner-right { right: 8px; }
