/* style/register.css */
/* Main page container */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on default light body background */
  background-color: #f8f8f8; /* Light background for the page content */
}

/* General container for content sections */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section titles and descriptions */
.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #003366; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-register__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #003366, #1a4d80); /* Subtle gradient for hero background */
  color: #ffffff;
  overflow: hidden; /* Prevents image overflow */
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-register__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-register__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* CTA Button Styles */
.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Secondary color for primary action */
  color: #003366; /* Primary color for text on secondary background */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-register__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button--secondary {
  background: #003366;
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-register__cta-button--secondary:hover {
  background: #004488;
  border-color: #e6c200;
}

.page-register__cta-container {
  text-align: center;
  margin-top: 40px;
}

/* Registration Form Section */
.page-register__form-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for the form */
  color: #333333;
}

.page-register__registration-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

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

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

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__verification-input-group {
  display: flex;
  gap: 10px;
}

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

.page-register__get-code-button {
  padding: 10px 20px;
  background: #003366;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 150px; /* Limit width */
}

.page-register__get-code-button:hover {
  background: #004488;
}

.page-register__form-terms {
  display: flex;
  align-items: center;
  margin-top: 25px;
  margin-bottom: 25px;
}

.page-register__form-checkbox {
  margin-right: 10px;
  min-width: 18px; /* Ensure checkbox is visible */
  min-height: 18px;
}

.page-register__form-label--checkbox {
  font-size: 15px;
  color: #555555;
}

.page-register__text-link {
  color: #003366;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-register__text-link:hover {
  color: #FFD700;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px 20px;
  background: #FFD700;
  color: #003366;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-register__submit-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 16px;
  color: #666666;
}

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

.page-register__dark-bg .page-register__section-title {
  color: #FFD700; /* Gold title on dark background */
}

.page-register__dark-bg .page-register__section-description {
  color: #f0f0f0;
}

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

.page-register__benefit-item {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-register__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-register__benefit-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Constrain image size */
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-register__benefit-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-register__benefit-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background-color: #f8f8f8; /* Light background */
  color: #333333;
}

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

.page-register__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-register__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1;
}

.page-register__step-title {
  font-size: 24px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 15px;
}

.page-register__step-text {
  font-size: 16px;
  color: #555555;
}

.page-register__guide-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 50px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

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

.page-register__promo-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-register__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-register__promo-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-register__promo-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 50px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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