.register-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem;
}

.register-page h1 {
  font-family: 'Kalam', cursive;
  color: #d7b5f2;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}

.register-form {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.9rem;
  color: #d9dbf4;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field select {
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  border: 1px solid #d7b5f2;
  background-color: #ffffff;
  color: #4b3061;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
}

.field input:focus,
.field select:focus {
  outline: 2px solid #d4af37;
}

/* Avatar picker */

.avatar-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.avatar-option {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  background-color: #ffffff;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.avatar-option:hover {
  transform: scale(1.05);
}

.avatar-option.selected {
  border-color: #d4af37;
}

/* Password toggle */

.password-wrapper {
  display: flex;
  gap: 0.5rem;
}

.password-wrapper input {
  flex: 1;
}

.toggle-password {
  padding: 0 1rem;
  border: 1px solid #d7b5f2;
  border-radius: 4px;
  background-color: transparent;
  color: #d7b5f2;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}

/* Checkbox */

.field-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}

.field-checkbox input {
  margin-top: 0.2rem;
}

.field-checkbox label {
  font-size: 0.85rem;
}

.field-checkbox a {
  color: #d4af37;
}

/* Buttons */

.btn-submit {
  padding: 0.9rem;
  background-color: #d4af37;
  color: #4b3061;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-submit:hover {
  opacity: 0.85;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.divider {
  text-align: center;
  color: #d9dbf4;
  font-size: 0.85rem;
  position: relative;
}

.btn-google {
  padding: 0.9rem;
  background-color: transparent;
  color: #d9dbf4;
  border: 1px solid #d9dbf4;
  border-radius: 4px;
  font-weight: 700;
  cursor: not-allowed;
  opacity: 0.5;
}

.google-note {
  font-size: 0.75rem;
  color: #d9dbf4;
  text-align: center;
  opacity: 0.7;
  margin-top: -0.5rem;
}

.login-link {
  text-align: center;
  font-size: 0.9rem;
  color: #d9dbf4;
  margin-top: 0.5rem;
}

.login-link a {
  color: #d4af37;
  font-weight: 700;
}
