.page-login {
  color: #ffffff; /* Light text for dark body background */
  /* background-color is inherited from shared.css, ensuring consistency */
}

.page-login__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-login__main-title {
  font-size: 3.5em;
  color: #FFD700; /* Primary color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  line-height: 1.2;
}

.page-login__intro-text {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-login__form-wrapper {
  background-color: rgba(30, 144, 255, 0.15); /* Semi-transparent secondary color */
  padding: 30px;
  border-radius: 10px;
  max-width: 450px;
  margin: 0 auto;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-login__label {
  display: block;
  margin-bottom: 8px;
  color: #FFD700; /* Primary color for labels */
  font-weight: bold;
  font-size: 1.1em;
}

.page-login__input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-login__input:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
}

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

.page-login__button {
  display: block;
  padding: 14px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__button--primary {
  background-color: #FFD700; /* Primary color */
  color: #1a1a1a; /* Dark text for primary button */
  border: none;
}

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

.page-login__button--secondary {
  background-color: #1E90FF; /* Secondary color */
  color: #ffffff;
  border: none;
}

.page-login__button--secondary:hover {
  background-color: #1a7ae6;
  transform: translateY(-2px);
}

.page-login__forgot-password {
  margin-top: 15px;
  text-align: center;
}

.page-login__link {
  color: #1E90FF; /* Secondary color for links */
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

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

.page-login__content-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-login__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1E90FF;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-login__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.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: rgba(30, 144, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__process-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-login__process-step-description {
  color: #e0e0e0;
  line-height: 1.6;
}

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

.page-login__security-item {
  background-color: rgba(255, 215, 0, 0.08);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(30, 144, 255, 0.2);
  transition: background-color 0.3s ease;
}

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

.page-login__security-tip-title {
  font-size: 1.4em;
  color: #1E90FF;
  margin-bottom: 10px;
}

.page-login__security-tip-description {
  color: #cccccc;
  line-height: 1.6;
}

.page-login__faq-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-login__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(30, 144, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: rgba(30, 144, 255, 0.15);
}

.page-login__faq-item[open] .page-login__faq-question {
  background-color: rgba(30, 144, 255, 0.2);
}

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #1E90FF;
}

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

.page-login__faq-answer {
  padding: 15px 25px 25px;
  color: #e0e0e0;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 3em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }
  .page-login__hero-content {
    padding: 30px 15px;
  }
  .page-login__main-title {
    font-size: 2.5em;
  }
  .page-login__intro-text {
    font-size: 1em;
  }
  .page-login__form-wrapper {
    padding: 20px;
  }
  .page-login__input {
    width: calc(100% - 20px);
  }
  .page-login__button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-login__content-section {
    padding: 40px 0;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__section-description {
    font-size: 0.95em;
  }
  .page-login__process-item, .page-login__security-item {
    padding: 20px;
  }
  .page-login__process-step-title, .page-login__security-tip-title {
    font-size: 1.3em;
  }
  .page-login__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-login__faq-answer {
    padding: 12px 20px 20px;
  }

  /* Mobile content area image constraint */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
  .page-login {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 2em;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__process-list,
  .page-login__security-list {
    grid-template-columns: 1fr;
  }
  .page-login__form-actions {
    flex-direction: column;
  }
}

/* Ensure content images meet minimum size requirements */
.page-login__hero-image,
.page-login__process-item img,
.page-login__security-item img,
.page-login__faq-item img {
  min-width: 200px; /* Minimum width for content images */
  min-height: 200px; /* Minimum height for content images */
  /* object-fit: cover; ensures images fill their space without distortion */
}