.page-register {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

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

.page-register__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-register__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
  text-align: center;
}

.page-register__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-color: #26A9E0;
}

.page-register__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-register__hero-text-block {
  max-width: 900px;
  text-align: center;
}

.page-register__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 15px;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-register__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f8ff;
}

.page-register__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  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: #e0f7fa;
  border-color: #1e88e5;
}

.page-register__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
}

.page-register__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-register__form-section {
  padding: 80px 0;
}

.page-register__form-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.page-register__form-image-container {
  flex: 1;
  min-width: 400px;
}

.page-register__form-illustration {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-register__registration-form {
  flex: 1;
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 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__captcha-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.page-register__captcha-input {
  flex: 1;
}

.page-register__captcha-image {
  background-color: #e0e0e0;
  padding: 12px 15px;
  border-radius: 5px;
  font-weight: bold;
  color: #555;
  min-width: 100px;
  text-align: center;
}

.page-register__captcha-refresh-btn {
  background-color: #26A9E0;
  color: #ffffff;
  border: none;
  padding: 12px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__captcha-refresh-btn:hover {
  background-color: #1e88e5;
}

.page-register__submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  cursor: pointer;
  margin-top: 10px;
}

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

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

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

.page-register__benefits-section {
  padding: 80px 0;
}

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

.page-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
}

.page-register__benefit-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%; /* Example: if icons are circular */
  background-color: rgba(255, 255, 255, 0.2);
  padding: 15px;
}

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

.page-register__benefit-text {
  font-size: 1em;
  color: #f0f8ff;
  flex-grow: 1;
}

.page-register__guide-section {
  padding: 80px 0;
}

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

.page-register__guide-step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-register__guide-step-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__guide-step-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__guide-step-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-register__security-section {
  padding: 80px 0;
}

.page-register__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  text-align: left;
}

.page-register__security-image {
  flex: 1;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-register__security-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__security-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #ffffff;
}

.page-register__security-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #EA7C07; /* Highlight with accent color */
  font-weight: bold;
  font-size: 1.2em;
  top: 0;
}

.page-register__cta-buttons--bottom {
  margin-top: 50px;
}

.page-register__faq-section {
  padding: 80px 0;
  text-align: left;
}

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

.page-register__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-register__faq-question::after {
  content: '+';
  font-size: 1.5em;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-register__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px; /* Large enough to show content */
  padding-bottom: 20px;
}

.page-register__faq-answer p {
  margin: 0;
  color: #555555;
}

.page-register__final-cta-section {
  padding: 80px 0;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-register__hero-image {
    max-height: 500px;
  }

  .page-register__form-wrapper {
    flex-direction: column;
  }

  .page-register__form-image-container, .page-register__registration-form {
    min-width: unset;
    width: 100%;
  }

  .page-register__security-content {
    flex-direction: column;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-register__container {
    padding: 15px;
  }

  .page-register__hero-section, 
  .page-register__form-section,
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 40px 0 !important;
  }

  .page-register__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }

  .page-register__subtitle {
    font-size: 1em !important;
  }

  .page-register__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-register__section-title {
    font-size: 2em !important;
    margin-bottom: 15px !important;
  }

  .page-register__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px !important;
  }

  .page-register__hero-image {
    max-height: 300px !important;
    margin-bottom: 20px !important;
  }

  /* Form Section */
  .page-register__form-image-container {
    min-width: unset;
    width: 100%;
  }

  .page-register__registration-form {
    padding: 25px !important;
  }

  .page-register__captcha-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .page-register__captcha-image {
    width: 100%;
    min-width: unset;
    margin-top: 10px;
  }

  .page-register__captcha-refresh-btn {
    width: 100%;
    margin-top: 10px;
  }

  /* Benefits Section */
  .page-register__benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-register__benefit-icon {
    width: 100px !important;
    height: 100px !important;
    margin-bottom: 15px !important;
  }

  .page-register__benefit-title {
    font-size: 1.3em !important;
  }

  .page-register__benefit-text {
    font-size: 0.9em !important;
  }

  /* Guide Section */
  .page-register__guide-steps {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .page-register__guide-step-image {
    max-height: 200px !important;
  }

  .page-register__guide-step-title {
    font-size: 1.4em !important;
  }

  /* Security Section */
  .page-register__security-content {
    flex-direction: column !important;
  }

  .page-register__security-item {
    font-size: 1em !important;
    margin-bottom: 10px !important;
  }

  /* FAQ Section */
  .page-register__faq-question {
    font-size: 1em !important;
    padding: 15px !important;
  }

  .page-register__faq-answer {
    padding: 0 15px !important;
  }

  .page-register__faq-answer p {
    font-size: 0.95em !important;
  }

  /* General image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}