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

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #FF4500, #1E90FF);
  color: #ffffff;
  overflow: hidden;
  min-height: 500px;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2; /* To allow gradient to show through */
}

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

.page-login__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-login__login-form-container {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #FF4500;
  border-radius: 5px;
  background-color: #333333;
  color: #ffffff;
  font-size: 1em;
}

.page-login__form-input::placeholder {
  color: #aaaaaa;
}

.page-login__forgot-password {
  display: block;
  text-align: right;
  margin-top: -10px;
  margin-bottom: 20px;
  color: #1E90FF;
  text-decoration: none;
  font-size: 0.9em;
}

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

.page-login__login-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #FF4500; /* Main color */
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none; /* For the <a> tag */
  text-align: center;
}

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

.page-login__register-prompt {
  margin-top: 25px;
  color: #f0f0f0;
}

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

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

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

.page-login__section-title {
  font-size: 2em;
  color: #FF4500; /* Main color */
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.page-login__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #1E90FF; /* Auxiliary color */
  border-radius: 2px;
}

.page-login__section-description {
  font-size: 1.05em;
  color: #555555;
  margin-bottom: 25px;
  text-align: justify;
}

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

.page-login__process-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FF4500;
  margin-bottom: 20px;
  padding: 20px 25px 20px 60px;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-login__process-item::before {
  counter-increment: login-step;
  content: "Step " counter(login-step);
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: #1E90FF;
  color: #ffffff;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
}

.page-login__process-step-title {
  font-size: 1.4em;
  color: #FF4500;
  margin-bottom: 10px;
  margin-top: 0;
}

.page-login__process-step-description {
  color: #444444;
}

.page-login__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 15px 30px;
  background-color: #1E90FF; /* Auxiliary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__cta-button:hover {
  background-color: #1565b3;
  transform: translateY(-2px);
}

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

.page-login__security-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-login__security-icon {
  width: 200px; /* Min size */
  height: 150px; /* Min size */
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no filter is applied */
}

.page-login__security-subtitle {
  font-size: 1.3em;
  color: #FF4500;
  margin-bottom: 15px;
}

.page-login__security-text {
  color: #555555;
  font-size: 0.95em;
}

.page-login__closing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 1.05em;
  color: #555555;
}

.page-login__faq-list {
  margin-top: 30px;
}

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

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

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

.page-login__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FF4500;
  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;
  line-height: 1.7;
}

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

.page-login__inline-link {
  color: #1E90FF;
  text-decoration: none;
  font-weight: normal;
}

.page-login__inline-link:hover {
  text-decoration: underline;
  color: #62b1ff;
}

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

.page-login__explore-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-login__explore-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-login__explore-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-login__explore-card-link {
  text-decoration: none;
  color: #FF4500;
}

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

.page-login__explore-card-text {
  color: #555555;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-login__explore-card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1E90FF;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__explore-card-button:hover {
  background-color: #1565b3;
  transform: translateY(-2px);
}

.page-login__closing-statement {
  text-align: center;
  margin-top: 40px;
  font-size: 1.05em;
  color: #555555;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .page-login__hero-title {
    font-size: 2em;
  }

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

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

  .page-login__process-item {
    padding: 15px 20px 15px 50px;
  }

  .page-login__process-item::before {
    left: 10px;
    top: 15px;
    padding: 3px 7px;
  }

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

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

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

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

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

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

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

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