* { box-sizing: border-box; margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; }

body {
  background: var(--bg-color, #0f0f1a);
  color: var(--text-color, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.box {
  background: rgba(255,255,255,0.06);
  padding: 40px;
  border-radius: 12px;
  width: 320px;
  max-width: 100%;
  text-align: center;
}

.box.wide { width: 650px; }

.box h1 { margin-bottom: 20px; font-size: 22px; }

.box input[type="text"],
.box input[type="email"],
.box input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: none;
  border-radius: 6px;
  font-size: 14px;
}

.box input[type="color"] {
  width: 100%;
  height: 40px;
  margin: 8px 0 16px;
  border: none;
  border-radius: 6px;
}

.box label { display: block; text-align: left; margin-top: 10px; font-size: 13px; opacity: 0.85; }

.box button {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  background: var(--primary-color, #6c5ce7);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.box button:hover { opacity: 0.9; }

.error { color: #ff6b6b; margin-bottom: 10px; font-size: 14px; }
.success { color: #51cf66; margin-bottom: 10px; font-size: 14px; }
.hint { font-size: 13px; opacity: 0.7; margin-bottom: 10px; }
.link { margin-top: 15px; font-size: 13px; }
.link a { color: var(--primary-color, #6c5ce7); text-decoration: none; }
.link a:hover { text-decoration: underline; }

table { width: 100%; border-collapse: collapse; margin-top: 15px; text-align: left; }
table th, table td { padding: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 13px; }
table th { opacity: 0.7; font-weight: normal; }
