@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&display=swap');

body, input, select, button {
  font-family: 'Nunito', sans-serif;
  box-sizing: border-box; /* Fix input width overflow */
}

/* --- Dark background with subtle diagonal shading only --- */
body {
  background-color: #1e1e1e;
  color: #f2f2f2;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Subtle diagonal hatch pattern across the full page */
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.045) 0 1px,
    rgba(0,0,0,0) 1px 26px
  );
}

/* --- Your original UI styles --- */
.container {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  width: 90%;
  max-width: 400px;
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, select, button {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  outline: none; /* remove default blue outline */
}

input, select {
  background: #3a3a3a;
  color: #f2f2f2;
}

/* Purple focus effect */
input:focus, select:focus {
  border: 2px solid #9900ff;
  box-shadow: 0 0 5px #9900ff;
}

button {
  background: #9900ff; /* purple */
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #7a00cc; /* darker purple on hover */
}

button.secondary {
  background: #444;
}

button.secondary:hover {
  background: #666;
}

.status {
  text-align: center;
  font-weight: 600;
  margin-top: 1rem;
}
