/* style/login.css */

/* --- General Page Styles --- */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f5f5f5; /* Slightly off-white background for the page content */
}

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

.page-login__section {
  padding: 60px 0;
  text-align: center;
}

.page-login__section-title {
  font-size: 36px;
  color: #26A9E0; /* Brand primary color for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 18px;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* --- Hero Section --- */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #f0f8ff; /* Light blue background for hero */
}

.page-login__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-login__hero-image {
  width: 100%;
  max-width: 1000px; /* Limit image width to avoid being too wide */
  margin-bottom: 20px;
}

.page-login__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-login__main-heading {
  font-size: 48px;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.page-login__intro-text {
  font-size: 20px;
  color: #444444;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-login__cta-button {
  display: inline-block;
  padding: 16px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 19px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary {
  background: #EA7C07; /* Login button specific color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-login__btn-primary:hover {
  background: #d66f06;
  border-color: #d66f06;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-login__btn-secondary {
  background: #ffffff;
  color: #26A9E0; /* Brand primary color for secondary button text */
  border: 2px solid #26A9E0;
}

.page-login__btn-secondary:hover {
  background: #f0f8ff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* --- Form Section --- */
.page-login__form-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.page-login__login-form {
  max-width: 500px;
  margin: 40px auto 0;
  padding: 40px;
  background: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  text-align: left;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login__form-input:focus {
  border-color: #26A9E0;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
  outline: none;
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 15px;
}

.page-login__remember-me input {
  margin-right: 8px;
}

.page-login__remember-me span {
  color: #555555;
}

.page-login__forgot-password {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-login__submit-button {
  width: 100%;
  padding: 16px;
  background: #EA7C07; /* Login button specific color */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%; /* Ensure button is responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* --- Benefits Section --- */
.page-login__dark-section {
  background-color: #26A9E0; /* Brand primary color for dark section */
  color: #ffffff;
  padding: 80px 0;
}

.page-login__dark-section .page-login__section-title,
.page-login__dark-section .page-login__section-description {
  color: #ffffff;
}

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

.page-login__benefit-card {
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent white background for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-login__benefit-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.25);
}

.page-login__benefit-card img {
  width: 100%;
  height: auto;
   /* Smaller images for feature cards */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block; /* Ensure block-level for centering */
  margin-left: auto;
  margin-right: auto;
}

.page-login__benefit-card .page-login__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-login__benefit-card p {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.6;
}

/* --- Quick Links Section --- */
.page-login__quick-links-section {
  background-color: #f5f5f5;
  padding: 80px 0;
}

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

.page-login__link-card {
  display: block; /* Make the entire card clickable */
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login__link-card .page-login__card-title {
  font-size: 20px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-login__link-card p {
  font-size: 15px;
  color: #555555;
  line-height: 1.5;
}

/* --- FAQ Section --- */
.page-login__faq-section {
  background-color: #ffffff;
  padding: 80px 0;
}

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

/* FAQ容器样式 */
.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}