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

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

.page-login__hero-section {
  background-color: #0A2463; /* Primary color background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-login__btn--primary {
  background-color: #FFD700; /* Secondary color */
  color: #0A2463; /* Primary color */
}

.page-login__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-login__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Secondary color */
  border: 2px solid #FFD700;
}

.page-login__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

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

.page-login__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtly blend with background */
  filter: grayscale(50%); /* Allowed as it's for general aesthetic, not changing image's original color */
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #0A2463; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
}

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

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

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

.page-login__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #0A2463;
}

.page-login__form-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input:focus {
  border-color: #FFD700;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

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

.page-login__btn--submit {
  background-color: #0A2463; /* Primary color */
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__btn--submit:hover {
  background-color: #1a3a7f;
  transform: translateY(-2px);
}

.page-login__forgot-password {
  color: #0A2463;
  text-align: center;
  text-decoration: none;
  font-size: 0.95em;
}

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

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

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

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

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

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

.page-login__process-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-login__process-step-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-login__process-item p {
  color: #666666;
}

.page-login__security-section {
  padding: 60px 0;
  background-color: #0A2463;
  color: #ffffff;
}

.page-login__security-section .page-login__section-title,
.page-login__security-section .page-login__section-intro {
  color: #FFD700; /* Secondary color for titles/intros on dark background */
}

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

.page-login__security-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-login__security-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-login__security-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); /* Allowed as it's not changing image color */
}

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

.page-login__security-card p {
  color: #e0e0e0;
}

.page-login__security-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 1em;
  color: #e0e0e0;
}

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

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

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

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

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #0A2463;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #dddddd;
}

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

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

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

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

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

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

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

  .page-login__process-list {
    grid-template-columns: 1fr;
  }

  .page-login__security-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also has header offset */
  }
  .page-login__hero-section {
    padding: 60px 20px;
  }

  .page-login__main-title {
    font-size: 2.2em;
  }

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

  .page-login__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__btn {
    width: 100%;
  }

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

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

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

  /* Mobile content area images must not overflow */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
  .page-login__security-icon {
    width: 200px; 
    height: 200px; 
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

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

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

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

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