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

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

.page-login__hero-section {
  background-color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-login__hero-content {
  max-width: 800px;
}

.page-login__main-heading {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

.page-login__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-login__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-login__button--login:hover {
  background-color: #e0a73a;
  transform: translateY(-2px);
}

.page-login__button--register {
  background-color: #000000;
  color: #FFFFFF; /* Register button color */
}

.page-login__button--register:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-login__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 1200px;
  height: 675px;
  object-fit: cover;
}

.page-login__login-form-section,
.page-login__process-section,
.page-login__security-section,
.page-login__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-top: 1px solid #eeeeee;
}

.page-login__login-form-section {
  background-color: #FFFFFF;
}

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

.page-login__section-intro {
  font-size: 1.1em;
  color: #666666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-login__form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background-color: #fefefe;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.page-login__form-label {
  font-size: 1em;
  color: #333333;
  margin-bottom: 8px;
  font-weight: bold;
}

.page-login__form-input {
  padding: 12px 15px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  font-size: 1em;
  color: #333333;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login__form-input:focus {
  border-color: #FCBC45;
  box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.2);
}

.page-login__form-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.page-login__button--submit {
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
  padding: 15px 20px;
}

.page-login__button--submit:hover {
  background-color: #e0a73a;
}

.page-login__forgot-password {
  color: #000000;
  text-align: center;
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

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

.page-login__process-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-login__process-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-login__process-item:hover {
  transform: translateY(-5px);
}

.page-login__process-step-number {
  width: 50px;
  height: 50px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(252, 188, 69, 0.4);
}

.page-login__process-step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-login__process-step-description {
  color: #666666;
  font-size: 1em;
}

.page-login__process-cta {
  text-align: center;
  margin-top: 50px;
}

.page-login__button--access {
  background-color: #000000;
  color: #FFFFFF;
}

.page-login__button--access:hover {
  background-color: #333333;
}

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

.page-login__security-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-login__security-card:hover {
  transform: translateY(-5px);
}

.page-login__security-icon {
  width: 250px; /* Minimum 200px */
  height: 187px; /* Maintain aspect ratio for 400x300 display */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-login__security-card-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-login__security-card-description {
  color: #666666;
  font-size: 0.95em;
}

.page-login__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #fefefe;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-question {
  background-color: #f5f5f5;
  border-bottom: none;
}

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

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 25px;
  font-size: 1em;
  color: #555555;
}

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

.page-login__faq-cta {
  text-align: center;
  margin-top: 50px;
}

.page-login__faq-contact-text {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-login__button--support {
  background-color: #000000;
  color: #FFFFFF;
}

.page-login__button--support:hover {
  background-color: #333333;
}

@media (max-width: 1024px) {
  .page-login__main-heading {
    font-size: 2.8em;
  }

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

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

  .page-login__hero-description {
    font-size: 1em;
  }

  .page-login__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__button {
    width: 100%;
    max-width: 300px;
  }

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

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

  .page-login__form-wrapper {
    padding: 30px;
  }

  .page-login__process-item,
  .page-login__security-card {
    padding: 25px;
  }

  .page-login__process-step-title,
  .page-login__security-card-title {
    font-size: 1.3em;
  }

  .page-login__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

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

  .page-login__hero-image img,
  .page-login__security-icon {
    max-width: 100%;
    height: auto;
    width: auto; /* Reset explicit width for mobile */
  }
  
  .page-login__security-icon {
    width: 250px; /* Ensure minimum width for content images */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-login__hero-section {
    padding: 60px 15px;
  }

  .page-login__main-heading {
    font-size: 1.8em;
  }

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

  .page-login__form-wrapper {
    padding: 25px;
  }

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

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