.page-register {
  padding-top: 120px; /* Base padding for desktop to clear fixed header */
  color: #ffffff; /* Light text for dark body background #121212 */
  background-color: #121212; /* Explicitly set for clarity, matches body */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-register__hero-section {
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.page-register__main-title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register__description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__form-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.page-register__form-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
  border-radius: 15px;
}

.page-register__registration-form {
  position: relative;
  z-index: 1;
  text-align: left;
}

.page-register__form-title {
  font-size: 32px;
  color: #ffc107;
  margin-bottom: 10px;
  text-align: center;
}

.page-register__form-subtitle {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 30px;
  text-align: center;
}

.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,
.page-register__form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #007bff;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

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

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

.page-register__form-select option {
  background-color: #1a1a1a; /* Dark background for dropdown options */
  color: #ffffff;
}

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

.page-register__form-checkbox {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #007bff;
}

.page-register__terms-link {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-register__submit-button {
  width: 100%;
  padding: 15px 20px;
  background: var(--primary-color, #007bff);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.page-register__submit-button:hover {
  background: var(--secondary-color, #0056b3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

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

.page-register__login-link {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-register__benefits-section,
.page-register__how-to-register-section,
.page-register__faq-section,
.page-register__cta-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-register__benefits-section {
  background-color: #0d0d0d; /* Slightly darker for visual contrast */
}

.page-register__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: #ffc107;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-register__section-description {
  font-size: 17px;
  text-align: center;
  color: #cccccc;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-register__benefit-card,
.page-register__step-card {
  background: rgba(255, 255, 255, 0.08); /* Dark card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__benefit-card:hover,
.page-register__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(0, 123, 255, 0.3));
}

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

.page-register__benefit-text,
.page-register__step-text {
  font-size: 16px;
  color: #cccccc;
}

.page-register__step-number {
  width: 50px;
  height: 50px;
  background: #ffc107;
  color: #121212;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 3px 10px rgba(255, 193, 7, 0.4);
}

/* FAQ styles */
.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Dark card background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: #007bff;
  transform: rotate(45deg); /* Change to X or - */
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
  font-size: 16px;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(0, 0, 0, 0.3); /* Darker background for answer */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0 0 10px 10px;
}

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

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-button--primary {
  background: var(--primary-color, #007bff);
  color: #ffffff;
}

.page-register__cta-button--primary:hover {
  background: var(--secondary-color, #0056b3);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button--secondary {
  background: #ffc107;
  color: #121212;
}

.page-register__cta-button--secondary:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 38px;
  }
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__form-title {
    font-size: 28px;
  }
  .page-register__benefit-title,
  .page-register__step-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: 100px !important; /* Mobile padding to clear fixed header */
    font-size: 15px;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__how-to-register-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 50px 0;
  }
  .page-register__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-register__description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-register__form-wrapper {
    padding: 30px 20px;
  }
  .page-register__form-title {
    font-size: 24px;
  }
  .page-register__form-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-register__form-input,
  .page-register__form-select {
    padding: 10px 12px;
    font-size: 15px;
  }
  .page-register__form-label {
    font-size: 15px;
  }
  .page-register__submit-button {
    padding: 12px 15px;
    font-size: 18px;
    margin-top: 25px;
  }
  .page-register__login-prompt {
    font-size: 15px;
  }
  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-register__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-register__benefits-grid,
  .page-register__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-register__benefit-card,
  .page-register__step-card {
    padding: 25px;
  }
  .page-register__benefit-icon {
    width: 80px;
    height: 80px;
  }
  .page-register__benefit-title,
  .page-register__step-title {
    font-size: 20px;
  }
  .page-register__step-number {
    width: 40px;
    height: 40px;
    font-size: 24px;
    margin-bottom: 15px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-question h3 {
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 20px !important;
  }
  .page-register__faq-answer {
    font-size: 15px;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsive fixes */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-register__form-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    box-sizing: border-box !important;
  }
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__how-to-register-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .page-register__container,
  .page-register__form-wrapper,
  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__faq-list,
  .page-register__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__form-wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 28px;
  }
  .page-register__section-title {
    font-size: 24px;
  }
  .page-register__form-title {
    font-size: 22px;
  }
  .page-register__benefit-title,
  .page-register__step-title {
    font-size: 18px;
  }
  .page-register__faq-question h3 {
    font-size: 15px;
  }
  .page-register__faq-answer p {
    font-size: 14px;
  }
}