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

/* Navigation height for layout calculations */
#navigation {
  height: 60px;
  background: #111;
  z-index: 1000;
}

body.login-split {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Login split wrapper - contains the flex layout */
.login-split-wrapper {
  display: flex;
  min-height: calc(100vh - 60px);
}

/* Left brand panel */
.brand-panel {
  flex: 1;
  background: linear-gradient(160deg, #0b0b0b, #1e1e1e);
  color: #eaeaea;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-logo {
  width: 160px;
  margin-bottom: 32px;
}

.brand-panel h1 {
  font-size: 28px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.brand-panel p {
  max-width: 420px;
  color: #b0b0b0;
  line-height: 1.6;
}

/* Right login panel */
.login-panel {
  flex: 1;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-inner {
  width: 100%;
  max-width: 360px;
  padding: 48px;
}

.login-inner h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #111;
}

.login-note {
  color: #666;
  margin-bottom: 32px;
}

/* Button */
.login-button {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.login-button:hover {
  background: #000;
  transform: translateY(-1px);
}

.login-button:active {
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 800px) {
  .login-split-wrapper {
    flex-direction: column;
  }

  .brand-panel {
    padding: 40px;
    text-align: center;
  }
}
/* Login panel */
#netlify-login {
  margin-top: 24px;
}

.login-button {
  width: 100%;
  padding: 12px;
  margin-top: 16px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.login-button:hover:not(:disabled) {
  background: #333;
}

.login-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.login-help {
  margin-top: 16px;
  font-size: 13px;
  color: #777;
  text-align: center;
}
.logout-button {
  margin-top: 24px;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid #999;
  color: #333;
  cursor: pointer;
  font-size: 13px;
}

.logout-button:hover {
  background: #eee;
}
