.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #FFFFFF */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-login__hero-section {
  background-color: #000000; /* Primary brand color for hero background */
  color: #FFFFFF; /* White text on black background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-login__hero-container {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-login__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight with login button color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.8;
}

.page-login__cta-button {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-login__cta-button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
}

.page-login__cta-button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-login__cta-button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for contrast */
}

.page-login__cta-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

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

.page-login__section-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

.page-login__section-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-login__login-form-block,
.page-login__text-block {
  flex: 1;
  min-width: 300px;
}

.page-login__image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure images are not small */
  min-height: 200px;
  object-fit: cover;
}

.page-login__section-title {
  font-size: 2em;
  color: #000000; /* Primary text color */
  margin-bottom: 20px;
}

.page-login__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-login__login-form {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.95em;
}

.page-login__remember-me {
  display: flex;
  align-items: center;
  color: #555555;
}

.page-login__checkbox {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

.page-login__forgot-password {
  color: #FCBC45; /* Login button color */
  text-decoration: none;
}

.page-login__forgot-password:hover {
  text-decoration: underline;
}

.page-login__submit-button {
  width: 100%;
  padding: 15px;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-login__register-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 1em;
  color: #555555;
}

.page-login__register-link {
  color: #FCBC45; /* Login button color */
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-login__security-item {
  background-color: #f0f0f0;
  padding: 12px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: #333333;
  font-size: 1em;
}

.page-login__security-item::before {
  content: '✓';
  color: #FCBC45; /* Checkmark color */
  font-weight: bold;
  margin-right: 10px;
}

.page-login__login-steps {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-login__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 15px;
}

.page-login__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #FCBC45; /* Step number background */
  color: #000000; /* Step number text color */
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
}

.page-login__step-title {
  font-size: 1.3em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 8px;
}

.page-login__step-description {
  font-size: 1em;
  color: #555555;
}

.page-login__faq-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
  border-radius: 12px;
  margin-top: 80px;
}

.page-login__faq-section .page-login__section-title {
  text-align: center;
  margin-bottom: 40px;
}

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

.page-login__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-login__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  position: relative;
  user-select: none;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #f0f0f0;
}

.page-login__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

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

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

.page-login__faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-login__section-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-login__section-wrapper--reverse {
    flex-direction: column;
  }

  .page-login__image-block {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-login__main-title {
    font-size: 2em;
  }

  .page-login__intro-text {
    font-size: 1em;
  }

  .page-login__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-login__section-title {
    font-size: 1.8em;
  }

  .page-login__section-description {
    font-size: 0.95em;
  }

  .page-login__image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    min-width: 200px;
    min-height: 200px;
  }

  .page-login__login-form {
    padding: 20px;
  }

  .page-login__form-input {
    width: calc(100% - 20px);
  }

  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-login__step-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-login__step-number {
    margin-bottom: 10px;
  }

  .page-login__faq-question {
    font-size: 1.05em;
    padding: 15px 20px;
  }

  .page-login__faq-toggle {
    right: 20px;
  }

  .page-login__faq-answer {
    padding: 0 20px 15px;
  }

  .page-login {
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  }

  /* Critical: All images in .page-login must be responsive */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }

  .page-login__hero-section {
    padding: 60px 15px;
  }

  .page-login__content-area {
    padding: 40px 15px;
  }

  .page-login__section-title {
    font-size: 1.6em;
  }
}