.page-login {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-login__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0056B3; /* Main brand color for hero background fallback */
}

.page-login__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-login__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-login__main-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFD700; /* Gold accent for title */
  font-weight: bold;
}

.page-login__intro-text {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
}

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

.page-login__section-title {
  font-size: 2.2em;
  color: #0056B3;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-login__form-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-login__form-wrapper {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
}

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

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.page-login__form-input:focus {
  border-color: #0056B3;
  outline: none;
}

.page-login__submit-button {
  background-color: #FFD700; /* Gold accent for button */
  border: none;
  padding: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.page-login__submit-button a {
  display: block;
  padding: 15px 20px;
  color: #0056B3; /* Dark blue text on gold button */
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.page-login__submit-button:hover {
  background-color: #e6c200;
}

.page-login__form-links {
  text-align: center;
  margin-top: 25px;
}

.page-login__forgot-password,
.page-login__register-link {
  color: #0056B3;
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__no-account-text {
  margin-top: 15px;
  color: #555555;
}

.page-login__process-section {
  padding: 60px 0;
  background-color: #eef4f8;
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 40px;
}

.page-login__process-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  flex: 1;
  min-width: 280px;
}

.page-login__process-step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #0056B3;
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-login__process-description {
  color: #555555;
}

.page-login__process-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-login__security-section {
  padding: 60px 0;
}

.page-login__security-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-login__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-login__security-list {
  flex: 2;
  list-style: none;
  padding: 0;
}

.page-login__security-item {
  background: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-login__security-point-title {
  font-size: 1.3em;
  color: #0056B3;
  margin-bottom: 8px;
}

.page-login__security-point-description {
  color: #555555;
}

.page-login__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-login__faq-item {
  background: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.page-login__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #0056B3;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  content: '-';
}

.page-login__faq-answer {
  padding: 15px 25px 20px;
  border-top: 1px solid #eee;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-content {
    max-width: 700px;
  }
  .page-login__main-title {
    font-size: 2.5em;
  }
  .page-login__intro-text {
    font-size: 1.1em;
  }
  .page-login__process-list {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-login__process-item {
    flex-basis: 45%;
  }
  .page-login__security-content {
    flex-direction: column;
  }
  .page-login__security-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header on mobile */
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-login__hero-section {
    padding: 40px 15px;
  }
  .page-login__hero-content {
    max-width: 90%;
    padding: 15px;
  }
  .page-login__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }
  .page-login__intro-text {
    font-size: 1em;
  }
  .page-login__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-login__container {
    padding: 30px 15px;
  }
  .page-login__form-wrapper {
    padding: 30px 20px;
  }
  .page-login__form-input {
    width: calc(100% - 20px);
  }
  .page-login__submit-button a {
    padding: 12px 15px;
  }
  .page-login__process-list {
    flex-direction: column;
    gap: 20px;
  }
  .page-login__process-item {
    flex-basis: 100%;
  }
  .page-login__process-image,
  .page-login__security-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  .page-login__security-list {
    margin-top: 30px;
  }
  .page-login__security-item {
    padding: 20px;
  }
  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-login__faq-toggle {
    right: 20px;
  }
  /* Enforce minimum image size for content area images */
  .page-login__hero-image,
  .page-login__process-image,
  .page-login__security-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum width */
    min-height: 200px; /* Ensure minimum height */
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__intro-text {
    font-size: 0.95em;
  }
  .page-login__section-title {
    font-size: 1.6em;
  }
  .page-login__form-wrapper {
    padding: 20px 15px;
  }
  .page-login__form-label {
    font-size: 0.9em;
  }
  .page-login__form-input {
    padding: 10px 8px;
    font-size: 0.9em;
  }
  .page-login__submit-button a {
    font-size: 1em;
    padding: 10px 15px;
  }
  .page-login__process-step-title {
    font-size: 1.3em;
  }
  .page-login__security-point-title {
    font-size: 1.2em;
  }
}