/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-box {
  max-width: 400px;
  width: 100%;
  background: #111;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
  text-align: center;
}

.admin-box {
  max-width: 1000px;
  text-align: left;
}

.login-box h2 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.login-box input[type="text"],
.login-box input[type="password"],
.login-box input[type="email"],
.login-box input[type="tel"] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  background: #222;
  border: none;
  color: #fff;
  border-radius: 0.5rem;
  font-size: 16px;
}

.readonly-input {
  background-color: #222;
  color: #888;
  border: none;
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

button {
  width: 100%;
  padding: 0.8rem;
  background: #fff;
  color: #000;
  border: none;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.2s;
}
button:hover {
  background: #ccc;
}

a {
  color: #fff;
  text-decoration: underline;
}

.error {
  color: #f55;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.success-message {
  color: #0f0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.interests-group {
  text-align: left;
  margin-bottom: 1rem;
}
.interests-label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.checkbox-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}
.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.checkbox-row input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.logout-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
}

.admin-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #fff;
  text-decoration: underline;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.admin-table th,
.admin-table td {
  border: 1px solid #444;
  padding: 0.5rem;
  text-align: left;
}

.event-box {
  background: #222;
  padding: 1rem;
  margin-top: 2rem;
  border-radius: 1rem;
  text-align: center;
}
