.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); /* Ensures content starts below fixed header */
}

.page-login__hero-section {
  background-color: #003366; /* Deep blue background for hero */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

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

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  font-weight: bold;
  line-height: 1.2;
}

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

.page-login__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  overflow: hidden;
}

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

.page-login__form-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__form-container {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.page-login__section-title {
  font-size: 2em;
  color: #003366;
  margin-bottom: 30px;
  font-weight: bold;
}

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

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

.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;
  accent-color: #003366;
}

.page-login__forgot-password {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__submit-button {
  background-color: #003366;
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  display: block; /* Ensure it takes full width */
  box-sizing: border-box;
}

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

.page-login__register-prompt {
  margin-top: 30px;
  color: #555555;
}

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

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

.page-login__process-section,
.page-login__security-section {
  padding: 60px 20px;
  background-color: #eef4f8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.page-login__security-section {
  background-color: #f8f8f8;
}

.page-login__content-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

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

.page-login__process-image,
.page-login__security-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

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

.page-login__process-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__step-number {
  background-color: #FFD700;
  color: #003366;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  flex-shrink: 0;
  margin-right: 15px;
}

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

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

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

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

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

.page-login__tip-title {
  font-size: 1.2em;
  color: #003366;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-login__tip-description {
  font-size: 0.95em;
  color: #555555;
}

.page-login__faq-section {
  padding: 60px 20px;
  background-color: #eef4f8;
  text-align: center;
}

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

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

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

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

.page-login__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

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

.page-login__faq-answer p {
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-login__main-title {
    font-size: 2.2em;
  }

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

  .page-login__form-container {
    padding: 30px 20px;
  }

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

  .page-login__process-section,
  .page-login__security-section {
    flex-direction: column;
    padding: 40px 15px;
    gap: 30px;
  }

  .page-login__image-container {
    order: -1; /* Image above text on mobile */
  }

  .page-login__process-image,
  .page-login__security-image {
    max-width: 100%;
    height: auto;
  }
  
  .page-login__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-login__faq-question::after {
    right: 20px;
  }

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

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

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

  .page-login__forgot-password {
    margin-top: 10px;
  }

  .page-login__submit-button {
    font-size: 1em;
    padding: 12px 20px;
  }
}