/* === BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #252525;
  
  --text-primary: #e0e0e0;
  --text-secondary: #00cc88;
  --text-dim: #888888;
  
  --accent-green: #00cc88;
  --accent-cyan: #00bbdd;
  
  --border-primary: #333333;
  --border-hover: #555555;
}

/* Light theme */
body.light {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-tertiary: #e8e8e8;
  
  --text-primary: #1a1a1a;
  --text-secondary: #00aa66;
  --text-dim: #999999;
  
  --accent-green: #00aa66;
  --accent-cyan: #0099cc;
  
  --border-primary: #dddddd;
  --border-hover: #999999;
}

body {
  font-family: 'Courier New', 'Consolas', monospace;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

/* === PAGE CONTROL === */
.page {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.page.hidden {
  display: none;
}

/* === FORM ELEMENTS === */
input[type="text"],
input[type="password"],
textarea {
  background: var(--bg-secondary);
  border: 2px solid var(--border-primary);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  outline: none;
  transition: all 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--accent-cyan);
  background: var(--bg-tertiary);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder {
  color: var(--text-dim);
  font-weight: normal;
}

input[type="submit"],
button {
  background: var(--bg-secondary);
  border: 2px solid var(--border-primary);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="submit"]:hover,
button:hover {
  border-color: var(--border-hover);
  background: var(--bg-tertiary);
}

input[type="submit"]:active,
button:active {
  transform: translateY(1px);
}

input[type="submit"]:disabled,
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* === TEXT STYLES === */
h1 {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-transform: uppercase;
}

p {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

code {
  display: block;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  font-weight: normal;
}

ul {
  list-style: none;
}
