.page-register {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background: linear-gradient(135deg, #1a1a2e 0%, #26A9E0 100%); /* Blend with body bg and brand color */
  text-align: center;
  overflow: hidden;
  gap: 40px;
}

.page-register__hero-content {
  max-width: 800px;
  z-index: 2;
  color: #ffffff;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-register__registration-form-wrapper {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for form background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  z-index: 2;
  box-sizing: border-box;
}

.page-register__registration-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-register__form-group {
  text-align: left;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3); /* Darker input background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.page-register__form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f0f0f0;
}

.page-register__checkbox-input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #26A9E0;
  border-radius: 4px;
  background-color: transparent;
  display: grid;
  place-content: center;
  cursor: pointer;
}

.page-register__checkbox-input::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: transform 0.2s ease-in-out;
  box-shadow: inset 1em 1em #26A9E0; /* Filled color */
  border-radius: 2px;
}

.page-register__checkbox-input:checked::before {
  transform: scale(1);
}

.page-register__checkbox-label {
  font-size: 0.9em;
}

.page-register__btn-primary {
  background-color: #EA7C07; /* Login orange color */
  color: #ffffff;
  padding: 14px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}