/* style/register.css */
:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --dark-bg-1: #0d0d0d; /* Assuming this is a dark background from shared.css */
}

.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
}

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

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-register__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Intro Section (Hero-like for Registration) */
.page-register__intro-section {
  padding: 10px 0 60px 0; /* Adjusted padding-top for fixed header */
  background: linear-gradient(135deg, var(--primary-color), #880000);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register__title {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-register__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: #333333;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__cta-button--large {
  padding: 22px 55px;
  font-size: 24px;
}

.page-register__intro-image-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-register__intro-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: block;
}

/* Registration Guide Section */
.page-register__registration-guide-section {
  padding: 60px 0;
  background-color: #f1f3f5; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-register__registration-guide-section .page-register__section-title,
.page-register__registration-guide-section .page-register__section-description {
  color: #333333;
}

.page-register__guide-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 30px;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-register__step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-content {
  flex-grow: 1;
}

.page-register__step-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-register__step-content p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #555555;
}

.page-register__step-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-register__step-list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-register__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.page-register__btn-primary:hover {
  background: #a30000;
  transform: translateY(-2px);
}

.page-register__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-register__note-card {
  background: #fff3e0; /* Light orange/yellow background for notes */
  border: 1px solid #ffcc80;
  border-left: 5px solid #ff9800;
  padding: 25px;
  border-radius: 8px;
  margin-top: 50px;
  color: #333333;
}

.page-register__note-title {
  font-size: 22px;
  color: #e65100;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-register__note-list {
  list-style-type: disc;
  margin-left: 20px;
  color: #555555;
}

.page-register__note-list li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #1a1a1a, #000000); /* Darker background for benefits */
  color: #ffffff;
}

.page-register__benefits-section .page-register__section-title,
.page-register__benefits-section .page-register__section-description {
  color: #ffffff;
}

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

.page-register__benefit-card {
  background: #2a2a2a; /* Slightly lighter dark card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.page-register__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-register__benefit-icon {
  width: 150px; /* Increased size for content image, not small icon */
  height: auto;
  margin-bottom: 20px;
  display: block;
  max-width: 100%;
}

.page-register__benefit-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-register__benefit-card p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-register__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-register__btn-secondary:hover {
  background: var(--secondary-color);
  color: #333333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-register__faq-section {
  padding: 60px 0;
  background-color: #f1f3f5; /* Light background for FAQ */
  color: #333333; /* Dark text for light background */
}

.page-register__faq-section .page-register__section-title,
.page-register__faq-section .page-register__section-description {
  color: #333333;
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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;
  padding: 0 15px;
  opacity: 0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-register__faq-question:active {
  background: #eeeeee;
}

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

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: 28px;
  height: 28px;
}

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

.page-register__faq-answer p {
    color: #555555;
    font-size: 16px;
}

/* Final CTA Section */
.page-register__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #CC0000, #AA0000); /* Primary brand color */
  text-align: center;
  color: #ffffff;
}

.page-register__cta-section .page-register__section-title,
.page-register__cta-section .page-register__section-description {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__title {
    font-size: 40px;
  }

  .page-register__subtitle {
    font-size: 20px;
  }

  .page-register__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-register__intro-section {
    padding-top: 10px !important; /* Mobile padding for fixed header */
    padding-bottom: 40px;
  }

  .page-register__title {
    font-size: 32px;
  }

  .page-register__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-register__cta-button {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-register__cta-button--large {
    padding: 18px 40px;
    font-size: 20px;
  }

  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-register__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-register__guide-step {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .page-register__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
    margin: 0 auto;
  }

  .page-register__step-title {
    font-size: 20px;
    text-align: center;
  }

  .page-register__step-content p,
  .page-register__step-list li {
    font-size: 15px;
  }

  .page-register__note-card {
    padding: 20px;
  }

  .page-register__note-title {
    font-size: 20px;
  }

  .page-register__benefit-card {
    padding: 25px;
  }

  .page-register__benefit-icon {
    width: 120px;
  }

  .page-register__benefit-title {
    font-size: 20px;
  }

  .page-register__benefit-card p {
    font-size: 15px;
  }

  .page-register__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-register__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-register__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-register__faq-answer {
    padding: 0 15px;
  }
  
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px !important;
  }
  
  /* Force images to not overflow on mobile */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-register__intro-image-wrapper,
  .page-register__guide-step,
  .page-register__benefits-grid,
  .page-register__faq-list,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}