* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background: #0f1115;
  color: #e6e8eb;
  min-height: 100vh;
}

.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
}

.auth-card {
  background: #181b22;
  border: 1px solid #262a33;
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-card h1 {
  font-size: 22px;
  text-align: center;
}

.auth-card .subtitle {
  text-align: center;
  color: #9aa3af;
  font-size: 14px;
  margin-bottom: 8px;
}

.auth-card label {
  font-size: 13px;
  color: #9aa3af;
}

.auth-card input {
  background: #0f1115;
  border: 1px solid #2c313c;
  border-radius: 8px;
  padding: 10px 12px;
  color: #e6e8eb;
  font-size: 14px;
  outline: none;
}

.auth-card input:focus {
  border-color: #4f7cff;
}

.auth-card button {
  margin-top: 12px;
  background: #4f7cff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.auth-card button:hover {
  background: #3a63e0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #262a33;
}

.brand {
  font-weight: 700;
  font-size: 18px;
}

.logout {
  color: #9aa3af;
  text-decoration: none;
  font-size: 14px;
}

.logout:hover {
  color: #e6e8eb;
}

.content {
  padding: 24px;
}

.card {
  background: #181b22;
  border: 1px solid #262a33;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 13px;
}

.error-message {
  background: rgba(255, 76, 76, 0.12);
  border: 1px solid #ff4c4c;
  color: #ff8585;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  text-align: center;
}
