* { box-sizing: border-box; }

body {
  background-color: #121212;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

[hidden] { display: none !important; }

.card {
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

h1 { color: #4ade80; font-size: 40px; margin: 0 0 8px; }
h2 { color: #4ade80; font-size: 18px; margin: 24px 0 6px; text-align: left; }
.subtitle { color: #bbb; margin: 0 0 24px; }

.tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.tab {
  flex: 1;
  background-color: #222;
  color: #bbb;
}
.tab.active { background-color: #4ade80; color: black; }
.tab:hover { background-color: #2f2f2f; }
.tab.active:hover { background-color: #22c55e; }

form { display: flex; flex-direction: column; gap: 12px; }

input[type="email"],
input[type="password"] {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background-color: #121212;
  color: white;
  font-size: 16px;
}
input:focus { outline: 2px solid #4ade80; border-color: transparent; }

button {
  background-color: #4ade80;
  color: black;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}
button:hover { background-color: #22c55e; }

button.danger { background-color: #ef4444; color: white; }
button.danger:hover { background-color: #dc2626; }

.checkbox { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #bbb; text-align: left; }

a { color: #4ade80; }
.small-link { font-size: 14px; color: #bbb; margin-top: 4px; display: inline-block; }
.small-link:hover { color: #4ade80; }

.message { margin: 16px 0 0; min-height: 20px; font-size: 14px; }
.message.success { color: #4ade80; }
.message.error { color: #f87171; }

.empty {
  border: 2px dashed #333;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  color: #888;
}
.empty p:first-child { font-size: 36px; margin: 0; }

.danger-zone { margin-top: 24px; text-align: left; color: #bbb; font-size: 14px; }
.danger-zone summary { cursor: pointer; color: #f87171; }
.danger-zone button { width: 100%; margin-top: 8px; }

.text-page { max-width: 600px; text-align: left; }
.text-page h1, .text-page .subtitle { text-align: left; }
.text-page p { color: #ccc; line-height: 1.6; }

footer { margin-top: 24px; font-size: 13px; }
footer a { color: #777; }
