/* style/register.css */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

.page-register__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #26A9E0, #1a8ad0); /* Brand primary color gradient */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-register__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.page-register__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-register__btn-primary {
  background-color: #EA7C07; /* Login/Register color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-register__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-register__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8ad0;
  border-color: #1a8ad0;
}

.page-register__form-section,
.page-register__benefits-section,
.page-register__how-to-register-section,
.page-register__trust-section,
.page-register__faq-section,
.page-register__cta-section {
  padding: 60px 0;
}

.page-register__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-register__dark-section .page-register__section-title,
.page-register__dark-section .page-register__section-description,
.page-register__dark-section .page-register__link {
  color: #FFFFFF;
}

.page-register__dark-section .page-register__link:hover {
  color: #f0f0f0;
}

.page-register__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-register__light-bg .page-register__section-title,
.page-register__light-bg .page-register__section-description,
.page-register__light-bg .page-register__link {
  color: #333333;
}

.page-register__light-bg .page-register__link:hover {
  color: #26A9E0;
}

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-register__registration-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-register__form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 5px rgba(38, 169, 224, 0.3);
}

.page-register__form-hint {
  font-size: 0.9em;
  color: #666;
  margin-top: 5px;
  display: block;
}

.page-register__checkbox-group {
  display: flex;
  align-items: flex-start;
}

.page-register__form-checkbox {
  margin-right: 10px;
  margin-top: 5px; /* Align checkbox with text */
}

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
  margin-top: 20px;
  background-color: #26A9E0; /* Use brand primary for submit */
  border-color: #26A9E0;
}

.page-register__submit-button:hover {
  background-color: #1a8ad0;
  border-color: #1a8ad0;
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 20px;
  font-size: 1em;
  color: #555;
}

.page-register__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-register__link:hover {
  text-decoration: underline;
  color: #1a8ad0;
}

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

.page-register__benefit-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-register__dark-section .page-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white on dark section */
  color: #333333;
}

.page-register__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  width: 100%; /* Make it responsive within its container */
  height: auto;
}

.page-register__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #26A9E0;
}

.page-register__benefit-text {
  font-size: 1em;
  color: #555555;
}

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

.page-register__step-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-register__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #26A9E0;
}

.page-register__step-text {
  font-size: 1em;
  color: #555555;
}

.page-register__trust-points {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-register__trust-subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__trust-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555555;
}

.page-register__dark-section .page-register__trust-subtitle {
  color: #FFFFFF;
}

.page-register__dark-section .page-register__trust-text {
  color: #f0f0f0;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}