/* style/login.css */
.page-login {
  color: #333333; /* Dark text on light body background */
  background-color: var(--secondary-color, #FFFFFF);
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-login__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero for contrast */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-login__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-login__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  font-weight: bold;
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-login__login-button,
.page-login__register-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-login__login-button {
  background-color: #FCBC45; /* Login button specific color */
  color: #000000; /* Dark text for contrast on FCBC45 */
  border: 2px solid #FCBC45;
}

.page-login__login-button:hover {
  background-color: #e0a53d;
  transform: translateY(-2px);
}

.page-login__register-button {
  background-color: #FFFFFF; /* Register button specific color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-login__register-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

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

.page-login__content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-login__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-login__login-process-section,
.page-login__security-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background-color: #f8f8f8;
  border-radius: 12px;
  margin-bottom: 40px;
  padding: 40px;
}

.page-login__process-list,
.page-login__security-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-login__process-item,
.page-login__security-item {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 15px;
}

.page-login__process-item strong,
.page-login__security-item strong {
  color: #FCBC45;
}

.page-login__process-image,
.page-login__security-image {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  width: 100%;
  height: auto; /* Ensure minimum 200px display size implicitly by layout */
  max-width: 600px; /* Example, ensure it's >= 200px */
  min-width: 200px; /* Explicitly ensure min size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-login__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 15px 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__cta-button:hover {
  background-color: #e0a53d;
  transform: translateY(-2px);
}

.page-login__support-link {
  display: block;
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  color: #000000;
  text-decoration: underline;
}

.page-login__support-link:hover {
  color: #FCBC45;
}

.page-login__faq-section {
  background-color: #FFFFFF;
  padding-bottom: 80px;
}

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

.page-login__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  list-style: none; /* Hide default marker */
}

.page-login__faq-question::-webkit-details-marker {
  display: none;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-login__hero-title {
    font-size: 2.8em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-login__hero-section {
    padding: 40px 15px;
  }
  .page-login__hero-title {
    font-size: 2.2em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__login-button,
  .page-login__register-button {
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
  }
  .page-login__content-section {
    padding: 40px 15px;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__section-text {
    font-size: 0.95em;
  }
  .page-login__process-list,
  .page-login__security-list {
    padding-left: 20px;
  }
  .page-login__process-item,
  .page-login__security-item {
    font-size: 0.9em;
  }
  .page-login__process-image,
  .page-login__security-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-login__faq-answer {
    padding: 0 20px 15px;
  }
  /* Mobile content image overflow prevention */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
  .page-login__login-process-section,
  .page-login__security-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 1.8em;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__hero-description {
    font-size: 0.9em;
  }
}