* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0f0f23 0%, #1a0d2e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e0e0e0;
  padding: 20px;
}
.container {
  width: 100%;
  max-width: 500px;
}
.card {
  background: linear-gradient(to bottom, rgba(26, 13, 46, 0.95), rgba(15, 15, 35, 0.95));
  border: 1px solid rgba(127, 49, 161, 0.3);
  border-radius: 12px;
  padding: 48px 32px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(127, 49, 161, 0.1);
}
.header {
  text-align: center;
  margin-bottom: 32px;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}
.logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}
.subtitle {
  font-size: 14px;
  color: #8080a0;
  font-weight: 500;
}
.form-group {
  margin-bottom: 20px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #c4c4c4;
}
input, select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(127, 49, 161, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}
input:focus, select:focus {
  outline: none;
  border-color: #7f31a1;
  box-shadow: 0 0 0 3px rgba(127, 49, 161, 0.1);
  background: rgba(0, 0, 0, 0.6);
}
select option {
  background: #1a0d2e;
  color: #fff;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
button {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #7f31a1, #481c7b);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(127, 49, 161, 0.3);
}
button:active {
  transform: translateY(0);
}
.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 24px;
}
.password-match-indicator {
  font-size: 12px;
  margin-top: 6px;
  font-weight: 500;
}
.password-policy-help {
  margin-top: 6px;
  font-size: 12px;
  color: #b8bdd0;
  line-height: 1.35;
}
.password-match-indicator.match {
  color: #a3e635;
}
.password-match-indicator.no-match {
  color: #fca5a5;
}
input.error-field {
  border-color: rgba(239, 68, 68, 0.6);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.recaptcha-container {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}
