/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #0a0a0a (dark), so text should be light */
  background-color: transparent; /* Main content background is handled by sections */
}

.page-register__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

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

.page-register__section {
  padding: 80px 0;
  text-align: center;
}

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

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px; /* Adjusted padding-top to account for fixed header, shared.css handles body padding */
  background-color: #0a0a0a;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-register__hero-content {
  max-width: 800px;
  z-index: 1;
  text-align: center;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

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

.page-register__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.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: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-register__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-register__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

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

.page-register__grid--2-col {
  grid-template-columns: 1fr 1fr;
  text-align: left;
  align-items: center;
}

.page-register__grid--3-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  text-align: left;
}

.page-register__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-register__card-text {
  font-size: 1em;
  margin-bottom: 20px;
}

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

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

.page-register__registration-guide {
  text-align: left;
}

.page-register__form-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-register__step-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

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

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

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

.page-register__form-group {
  text-align: left;
}

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

.page-register__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9em;
}

.page-register__form-checkbox {
  width: 18px;
  height: 18px;
}

.page-register__terms-link {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-register__form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__form-submit-btn:hover {
  background-color: #cc6a00;
}

.page-register__illustration-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-register__illustration-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.page-register__bullet-list {
  list-style-type: disc;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-register__bullet-list li {
  margin-bottom: 8px;
}

.page-register__account-management {
  text-align: center;
}

.page-register__feature-box {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-register__feature-text {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-register__feature-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push link to bottom */
}

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

.page-register__faq-section {
  text-align: left;
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #26A9E0;
}

.page-register__faq-title {
  margin: 0;
  color: inherit;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  text-align: justify;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px 25px;
}

.page-register__cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-register__cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-register__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-register__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__grid--2-col {
    grid-template-columns: 1fr;
  }
  .page-register__illustration-wrapper {
    order: -1; /* Move image above form on smaller screens */
    margin-bottom: 30px;
  }
  .page-register__registration-guide .page-register__grid {
    gap: 0;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 80px 20px 40px;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-register__section {
    padding: 60px 0;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__grid {
    grid-template-columns: 1fr;
  }
  .page-register__card {
    padding: 20px;
  }
  .page-register__card-title {
    font-size: 1.3em;
  }
  .page-register__form-input {
    width: 100%;
  }
  .page-register__illustration-wrapper {
    margin-bottom: 20px;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__registration-guide,
  .page-register__account-management,
  .page-register__faq-section,
  .page-register__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-register__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__cta-title {
    font-size: 1.8em;
  }
}