body {
  background: #667eea;
  padding: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
}

.form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form h2 {
  text-align: center;
  color: #667eea;
  margin-bottom: 20px;
  font-weight: 600;
}

input, select {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

input:focus, select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

button {
  width: 100%;
  padding: 12px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s;
}

button:hover {
  background: #5a67d8;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.error {
  color: #dc3545;
  margin: 10px 0;
  padding: 10px;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  display: none;
}

.success {
  color: #155724;
  margin: 10px 0;
  padding: 10px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  display: none;
}

.checkbox-group {
  margin: 15px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  gap: 10px;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-text {
  flex: 1;
  word-wrap: break-word;
  white-space: normal;
}

.checkbox-label a {
  color: #667eea;
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: #5a67d8;
}

.required-star {
  color: #dc3545;
  font-weight: bold;
  margin-right: 5px;
}

.agreement-message {
  background: #f8d7da;
  color: #721c24;
  padding: 10px;
  margin: 15px 0;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #f5c6cb;
  font-weight: 500;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}