/* style/register.css */

/* Base styles for the register page */
.page-register {
  background-color: #121212; /* Inherit from body or set explicitly for consistency */
  color: #ffffff; /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-register__main-heading,
.page-register__section-title {
  color: #FFD700; /* Golden color for headings */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__main-heading {
  font-size: 3.2em;
  margin-top: 0;
  padding-top: 0; /* Ensures no extra padding from H1 */
}

.page-register__intro-text,
.page-register__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Banner Section */
.page-register__hero-banner {
  position: relative;
  width: 100%;
  min-height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 0; /* shared.css should handle body padding-top for header offset */
  margin-top: 0;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 8px;
  max-width: 900px;
  box-sizing: border-box;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-submit {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
  text-align: center;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background-color: #FFD700; /* Golden */
  color: #000080; /* Dark blue text for contrast */
}

.page-register__btn-primary:hover {
  background-color: #e6c200;
  color: #000066;
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Golden text */
  border: 2px solid #FFD700; /* Golden border */
  margin-left: 20px;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

.page-register__btn-submit {
  background-color: #FFD700;
  color: #000080;
  width: 100%;
  margin-top: 20px;
}

.page-register__btn-submit:hover {
  background-color: #e6c200;
  color: #000066;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}


/* Registration Form Section */
.page-register__form-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for form */
}

.page-register__form-section .page-register__section-title,
.page-register__form-section .page-register__section-description {
  color: #ffffff;
}

.page-register__registration-form {
  max-width: 500px;
  margin: 40px auto 0;
  background-color: #2a2a2a; /* Darker background for form container */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__form-group {
  margin-bottom: 20px;
}

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

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #000080; /* Dark blue border */
  border-radius: 5px;
  background-color: #3a3a3a; /* Input background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #aaaaaa;
}

.page-register__form-input:focus {
  outline: none;
  border-color: #FFD700; /* Golden focus */
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-register__captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-register__form-input--captcha {
  flex-grow: 1;
}

.page-register__captcha-image {
  border-radius: 5px;
  vertical-align: middle;
  width: 150px; /* HTML width attribute */
  height: 50px; /* HTML height attribute */
  object-fit: cover;
}

.page-register__checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-top: 25px;
  margin-bottom: 25px;
}

.page-register__form-checkbox {
  margin-right: 10px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #FFD700; /* Golden checkbox */
}

.page-register__form-label--checkbox {
  font-weight: normal;
  line-height: 1.4;
  color: #f0f0f0;
}

.page-register__form-label--checkbox a {
  color: #FFD700; /* Golden links */
  text-decoration: none;
}

.page-register__form-label--checkbox a:hover {
  text-decoration: underline;
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 30px;
  color: #f0f0f0;
}

.page-register__login-prompt a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-register__login-prompt a:hover {
  text-decoration: underline;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}