/* style/register.css */

/* Base styles for the register page */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Assuming body background is black */
}

/* Hero section for the Register page */
.page-register__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Fixed navbar spacing */
  margin-top: 0;
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  box-sizing: border-box;
}

.page-register__hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-subtitle {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

/* Registration Form Section */
.page-register__form-section {
  padding: 80px 20px;
  background-color: #0d0d00; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-register__form-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-register__form-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #FFD700;
}

.page-register__form-wrapper {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-register__registration-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
}

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

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

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #8B0000;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
}

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

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

.page-register__form-group--verification {
  display: flex;
  flex-direction: column;
}

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

.page-register__form-input--code {
  flex: 1;
}

.page-register__send-code-button {
  padding: 12px 20px;
  background-color: #8B0000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__send-code-button:hover {
  background-color: #FFD700;
}

.page-register__form-group--checkbox {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

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

.page-register__form-label--terms {
  font-size: 14px;
  color: #f0f0f0;
  font-weight: normal;
}

.page-register__terms-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

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

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
}

.page-register__submit-button a {
  display: block;
  color: #ffffff;
  text-decoration: none;
}

.page-register__btn-primary {
  background: #FFD700;
  color: #ffffff; /* Button text always white */
  border: 2px solid transparent;
}

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

.page-register__form-image-container {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__form-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-register__login-prompt {
  margin-top: 30px;
  font-size: 16px;
  color: #f0f0f0;
}

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

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

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

.page-register__benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-register__benefits-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-register__benefits-description {
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-register__benefit-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-register__benefit-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: #FFD700;
}

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

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

.page-register__keyword {
  color: #FFD700;
  font-weight: bold;
}

.page-register__benefits-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 20px;
  background-color: #0d0d00;
  color: #ffffff;
}

.page-register__steps-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-register__steps-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-register__steps-description {
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-register__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(139, 0, 0, 0.3);
  position: relative;
}

.page-register__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #8B0000;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid #FFD700;
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-register__step-heading {
  font-size: 24px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #FFD700;
}

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

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

.page-register__security-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-register__security-content {
  flex: 1;
  min-width: 300px;
}

.page-register__security-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-register__security-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-register__security-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-register__security-list-item {
  font-size: 16px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #f0f0f0;
}

.page-register__security-list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 20px;
  line-height: 1;
}

.page-register__security-cta {
  font-size: 18px;
  font-weight: bold;
  color: #f0f0f0;
}

.page-register__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__security-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-register__why-choose-section {
  padding: 80px 20px;
  background-color: #0d0d00;
  color: #ffffff;
}

.page-register__why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-register__why-choose-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-register__why-choose-description {
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-register__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-register__why-choose-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__why-choose-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register__why-choose-heading {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

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

.page-register__why-choose-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 20px;
  background-color: #000000;
  color: #ffffff;
}

.page-register__faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-register__faq-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-register__faq-list {
  margin-top: 30px;
}

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(139, 0, 0, 0.3); /* Auxiliary color with transparency */
  border-radius: 0 0 5px 5px;
}

.page-register__faq-answer p {
  margin: 0;
  font-size: 16px;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 215, 0, 0.1);
  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: rgba(255, 215, 0, 0.2);
  border-color: #FFD700;
}

.page-register__faq-question:active {
  background: rgba(255, 215, 0, 0.3);
}

.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: #FFD700;
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: #ffffff;
  transform: rotate(45deg); /* Change to minus sign visual */
}

/* CTA Section */
.page-register__cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #8B0000, #FFD700);
  color: #ffffff;
  text-align: center;
}

.page-register__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

.page-register__cta-button {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-secondary {
  background: #ffffff;
  color: #8B0000; /* Use brand color for contrast */
  border: 2px solid #8B0000;
}

.page-register__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #FFD700;
  color: #FFD700;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__form-wrapper {
    flex-direction: column;
    padding: 30px;
  }
  .page-register__form-image-container {
    margin-top: 30px;
  }
  .page-register__hero-title {
    font-size: 40px;
  }
  .page-register__hero-subtitle {
    font-size: 18px;
  }
  .page-register__form-title,
  .page-register__benefits-title,
  .page-register__steps-title,
  .page-register__security-title,
  .page-register__why-choose-title,
  .page-register__faq-main-title,
  .page-register__cta-title {
    font-size: 32px;
  }
  .page-register__benefits-description,
  .page-register__steps-description,
  .page-register__security-description,
  .page-register__why-choose-description,
  .page-register__faq-description,
  .page-register__cta-description {
    font-size: 17px;
  }
  .page-register__benefit-heading,
  .page-register__step-heading,
  .page-register__why-choose-heading {
    font-size: 22px;
  }
  .page-register__benefit-text,
  .page-register__step-text,
  .page-register__security-list-item,
  .page-register__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  /* Fixed navbar spacing for mobile */
  .page-register__hero-section {
    padding-top: 10px !important;
    padding-bottom: 60px;
  }

  .page-register__hero-title {
    font-size: 32px;
  }
  .page-register__hero-subtitle {
    font-size: 16px;
  }

  .page-register__form-section,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__security-section,
  .page-register__why-choose-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 40px 15px;
  }

  .page-register__form-title,
  .page-register__benefits-title,
  .page-register__steps-title,
  .page-register__security-title,
  .page-register__why-choose-title,
  .page-register__faq-main-title,
  .page-register__cta-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .page-register__form-wrapper {
    padding: 25px;
    gap: 25px;
  }
  .page-register__registration-form {
    width: 100%;
    max-width: 100%;
  }
  .page-register__form-image-container {
    max-width: 100%;
  }

  .page-register__benefits-description,
  .page-register__steps-description,
  .page-register__security-description,
  .page-register__why-choose-description,
  .page-register__faq-description,
  .page-register__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__benefit-card,
  .page-register__step-item,
  .page-register__why-choose-item {
    padding: 25px;
  }

  .page-register__benefit-heading,
  .page-register__step-heading,
  .page-register__why-choose-heading {
    font-size: 20px;
  }
  .page-register__benefit-text,
  .page-register__step-text,
  .page-register__security-list-item,
  .page-register__faq-answer p {
    font-size: 14px;
  }
  .page-register__security-container {
    flex-direction: column;
    gap: 20px;
  }
  .page-register__security-image-wrapper {
    order: -1; /* Image first on mobile */
  }
  .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;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  /* Mobile image and container responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__form-image,
  .page-register__benefits-image,
  .page-register__security-image,
  .page-register__why-choose-image {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-register__form-section,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__security-section,
  .page-register__why-choose-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .page-register__form-container,
  .page-register__benefits-container,
  .page-register__steps-container,
  .page-register__security-container,
  .page-register__why-choose-container,
  .page-register__faq-container,
  .page-register__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 28px;
  }
  .page-register__form-title,
  .page-register__benefits-title,
  .page-register__steps-title,
  .page-register__security-title,
  .page-register__why-choose-title,
  .page-register__faq-main-title,
  .page-register__cta-title {
    font-size: 24px;
  }
  .page-register__form-wrapper {
    padding: 20px;
  }
  .page-register__form-input,
  .page-register__send-code-button,
  .page-register__submit-button,
  .page-register__cta-button {
    font-size: 15px;
    padding: 10px 15px;
  }
  .page-register__login-prompt {
    font-size: 14px;
  }
  .page-register__benefit-heading,
  .page-register__step-heading,
  .page-register__why-choose-heading {
    font-size: 18px;
  }
  .page-register__benefit-icon {
    font-size: 30px;
  }
  .page-register__security-list-item::before {
    font-size: 18px;
  }
  .page-register__faq-question h3 {
    font-size: 15px;
  }
  .page-register__faq-toggle {
    font-size: 18px;
  }
}