/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:wght@400;600;700&display=swap');

/* Root colors */
:root {
  --bg-main: #111111;
  --text-main: #FFFFFF;
  --accent: #9b51e0;
  --accent-alt: #9b51e0;
  --yes: #2ECC71;
  --no: #E74C3C;
  --unanswered: #555555;
}

/* General body */
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  margin: 0;
  padding: 0;
}

/* Full-page centering for login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== ADDED: stack title + login box ===== */
.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ===== ADDED: title above login box ===== */
.login-title {
  font-family: 'Anton', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-main);
}

/* Login box */
.login-container {
  background: white;
  color: #111; /* keep text readable */
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  width: 320px;
  text-align: center;
}

input[type="email"] {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

button {
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  background-color: #0072ce;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color: #005bb5;
}

#errorMsg {
  color: red;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Container */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem;
}

/* Headers */
h1, h2, h3 {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

h1 {
  text-align: center;
  font-size: 3rem;
  border-bottom: 4px solid var(--accent);
  padding-bottom: 0.5rem;
}

/* Buttons */
button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: 0.2s;
}

button:hover {
  background: var(--accent-alt);
}

/* Table styles */
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 2rem;
  font-size: 1rem;
}

th {
  background: #222;
  color: var(--accent);
  font-weight: 700;
  padding: 1rem;
  text-transform: uppercase;
}

td {
  border: 1px solid #333;
  padding: 0.75rem;
  text-align: center;
}

td.available {
  background: var(--yes);
  color: #000;
}

td.unavailable {
  background: var(--no);
  color: #000;
}

td.unanswered {
  background: var(--unanswered);
}

td.clickable:hover {
  background: #333;
  cursor: pointer;
}

/* Input fields */
input[type="email"] {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  margin-right: 0.5rem;
  border-radius: 4px;
  border: none;
  width: 250px;
}
