:root {
  --primary-color: #007bff; /* Blue */
  --secondary-color: #ffc107; /* Amber/Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light-card: rgba(255, 255, 255, 0.08); /* Slightly visible on dark bg */
  --border-color: rgba(255, 255, 255, 0.15);
}

.page-register {
  color: var(--text-light); /* Main text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from body, but good to specify for clarity */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* General padding for the whole page content */
}

/* Fixed navigation bar spacing for desktop */
.page-register__hero-section {
  padding-top: 100px; /* Adjust based on actual header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.page-register__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-register__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  color: rgba(255, 255, 255, 0.9);
}

.page-register__registration-form-wrapper {
  background: var(--bg-light-card);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  width: 100%;
  margin: 0 auto 30px auto;
  border: 1px solid var(--border-color);
  text-align: left;
}

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

.page-register__form-group {
  display: flex;
  flex-direction: column;
}

.page-register__form-label {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text-light);
  font-weight: 600;
}

.page-register__form-input {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
  outline: none;
}

.page-register__form-agreement {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.page-register__form-agreement input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.page-register__terms-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__terms-link:hover {
  color: #ffd700;
  text-decoration: underline;
}

.page-register__submit-button {
  padding: 15px 25px;
  background: var(--secondary-color);
  color: var(--text-dark); /* Dark text on amber button for contrast */
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.page-register__submit-button:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.page-register__login-prompt {
  font-size: 15px;
  margin-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.page-register__login-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__login-link:hover {
  color: #00aaff;
  text-decoration: underline;
}

.page-register__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: block; /* Ensure no extra space below image */
}

/* General container and section styles */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}