/* Apply border-box sizing globally */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #1a0033, #2e004f);
  margin: 0;
  padding-top: 20px; /* keep some top padding for spacing */
  /* Remove fixed height and flex centering so page scrolls naturally */
  /* display, height, justify-content, align-items removed */
}

.container {
  background: #1e1e2f;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  width: 400px;
  margin: 0 auto 40px auto; /* center horizontally, add bottom margin for scroll */
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #f0f0f0;
}

h2 {
  margin-top: 0;
  padding-top: 10px;
  text-align: center;
}

label {
  font-size: 0.9em;
  color: #ccc;
}

input, select {
  padding: 8px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  background: #2c2c3f;
  color: #ffffff;
  outline: none;
}

input::placeholder {
  color: #aaa;
}

input:focus,
select:focus {
  background: #35354d;
  box-shadow: 0 0 0 2px #805ad5;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #2c2c3f;
  padding: 10px;
  border-radius: 6px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-status-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #2c2c3f;
  padding: 10px;
  border-radius: 6px;
}

.code-status-group div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button {
  padding: 12px;
  background: linear-gradient(135deg, #6a5acd, #805ad5);
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

button:hover {
  background: linear-gradient(135deg, #7b6eea, #9771f2);
}
