.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main for dark background */
  background-color: #0A0A0A; /* Page background color */
  padding-bottom: 40px;
}

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

/* Hero Section */
.page-login__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-login__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Overlap slightly for visual effect, but not on image */
  position: relative;
  z-index: 2;
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border color */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-login__main-title {
  font-size: 44px;
  font-weight: bold;
  color: #FFD36B; /* Glow color for title */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-login__hero-description {
  font-size: 18px;
  color: #FFF6D6;
  max-width: 700px;
  margin: 0 auto;
}

/* Section Titles */
.page-login__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #F2C14E; /* Main brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

/* Form Section */
.page-login__form-section {
  background-color: #0A0A0A; /* Background color */
  padding: 60px 0;
}

.page-login__form-wrapper {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-login__input-group {
  display: flex;
  flex-direction: column;
}

.page-login__label {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 8px;
  font-weight: 600;
}

.page-login__input {
  padding: 12px 15px;
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  background-color: #0A0A0A; /* Background color */
  color: #FFF6D6;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login__input:focus {
  border-color: #F2C14E; /* Main brand color on focus */
  box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.3);
}

.page-login__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.page-login__remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-login__checkbox {
  width: 18px;
  height: 18px;
  accent-color: #F2C14E; /* Main brand color for checkbox */
}

.page-login__checkbox-label {
  color: #FFF6D6;
  cursor: pointer;
}

.page-login__forgot-password-link {
  color: #F2C14E; /* Main brand color for link */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
  color: #FFD36B; /* Glow color on hover */
  text-decoration: underline;
}

/* Buttons */
.page-login__submit-button,
.page-login__register-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box; /* Crucial for responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Primary button gradient */
  color: #ffffff; /* White text for primary button */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-login__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-login__btn-secondary {
  background: #111111; /* Card BG for secondary button */
  color: #F2C14E; /* Main brand color for text */
  border: 2px solid #F2C14E; /* Main brand color for border */
  margin-top: 15px;
}

.page-login__btn-secondary:hover {
  background: #F2C14E; /* Main brand color on hover */
  color: #111111; /* Card BG for text on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #3A2A12; /* Border color */
}

.page-login__register-text {
  color: #FFF6D6;
  font-size: 16px;
  margin-bottom: 10px;
}

/* Benefits Section */
.page-login__benefits-section {
  background-color: #0A0A0A; /* Background color */
  padding: 60px 0;
}

.page-login__benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-login__benefit-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-login__benefit-icon {
  width: 100%; /* Ensure images fill card width */
  height: auto;
  max-height: 200px; /* Limit icon height */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__benefit-title {
  font-size: 24px;
  color: #FFD36B; /* Glow color for benefit titles */
  margin-bottom: 10px;
  font-weight: 700;
}

.page-login__benefit-description {
  font-size: 15px;
  color: #FFF6D6;
}

/* FAQ Section */
.page-login__faq-section {
  background-color: #0A0A0A; /* Background color */
  padding: 60px 0;
}

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

details.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}
details.page-login__faq-item summary.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: #F2C14E; /* Main brand color for question */
}
details.page-login__faq-item summary.page-login__faq-question::-webkit-details-marker {
  display: none;
}
details.page-login__faq-item summary.page-login__faq-question:hover {
  background: rgba(242, 193, 78, 0.1); /* Subtle hover effect */
}
.page-login__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Text Main for question text */
}
.page-login__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main brand color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-login__faq-item .page-login__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background color for answer */
  border-radius: 0 0 8px 8px;
  font-size: 15px;
  color: #FFF6D6;
}
details.page-login__faq-item[open] .page-login__faq-qtext {
  color: #F2C14E; /* Highlight question when open */
}

/* General image styling for content areas */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsiveness (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-login__container {
    padding: 0 15px;
  }

  .page-login__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-login__hero-content {
    padding: 30px 15px;
    margin-top: -60px; /* Adjust overlap */
  }

  .page-login__main-title {
    font-size: 32px;
  }

  .page-login__hero-description {
    font-size: 16px;
  }

  .page-login__section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-top: 40px;
  }

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

  .page-login__input-group {
    gap: 10px;
  }

  .page-login__input {
    padding: 10px 12px;
    font-size: 15px;
  }

  .page-login__options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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

  /* Buttons mobile specific */
  .page-login__submit-button,
  .page-login__register-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-login__register-prompt {
    margin-top: 25px;
    padding-top: 15px;
  }

  /* Benefits Grid mobile specific */
  .page-login__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__benefit-card {
    padding: 25px;
  }

  .page-login__benefit-icon {
    max-height: 150px;
  }

  .page-login__benefit-title {
    font-size: 20px;
  }

  .page-login__benefit-description {
    font-size: 14px;
  }

  /* FAQ mobile specific */
  details.page-login__faq-item summary.page-login__faq-question {
    padding: 15px;
  }
  .page-login__faq-qtext {
    font-size: 15px;
  }
  .page-login__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-login__faq-item .page-login__faq-answer {
    padding: 0 15px 15px;
    font-size: 14px;
  }

  /* General image responsiveness for all content images */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all sections and containers have proper padding/width */
  .page-login__hero-section,
  .page-login__form-section,
  .page-login__benefits-section,
  .page-login__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}