/* Global Styles */
:root {
  --primary-color: #6c63ff;
  --secondary-color: #8a85ff;
  --text-color: #e0e0e0;
  --bg-color: #121212;
  --surface-color: #1e1e1e;
  --input-bg: #2d2d2d;
  --input-border: #404040;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --hover-brightness: 1.1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #121212 0%, #1e1e1e 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: var(--text-color);
}

/* Form Container */
#userInformationBox {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 500px;
  text-align: center;
  border: 1px solid #333;
}

#userInformationBox h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
}

/* Form Elements */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  text-align: left;
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.9;
}

input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--input-bg);
  border: 2px solid var(--input-border);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: var(--text-color);
}

input[type="text"]:focus,
input[type="number"]:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.3);
  background-color: #333;
}

/* Button Styles */
#submit {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

#submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(108, 99, 255, 0.3);
  filter: brightness(var(--hover-brightness));
}

#submit:active {
  transform: translateY(0);
  filter: brightness(0.9);
}

#submit:disabled {
  background: #3a3a3a;
  color: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.4);
}

/* Add a subtle glow effect to inputs when focused */
input:focus {
  transition: all 0.3s ease;
  border-color: var(--primary-color);
}

/* Checkbox container */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

/* Label styling */
.checkbox-group label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  background: transparent;
}

.checkbox-group label:hover {
  background: rgba(108, 99, 255, 0.05);
}

/* Custom checkbox styling */
.checkbox-group input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  background: var(--input-bg);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Checked state */
.checkbox-group input[type="checkbox"]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Checkmark (hidden by default) */
.checkbox-group input[type="checkbox"]::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Show checkmark when checked */
.checkbox-group input[type="checkbox"]:checked::after {
  display: block;
}

/* Hover and focus states */
.checkbox-group input[type="checkbox"]:hover {
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.checkbox-group input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.3);
}


