.page-login {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 80px; /* Small top padding, larger bottom for content */
  overflow: hidden;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-login__hero-content {
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-login__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-login__description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-login__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
  text-align: center;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-login__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-login__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-login__btn-secondary:hover {
  background: #2AD16F;
  color: #11271B;
}

.page-login__card-bg {
  background-color: #11271B; /* Card BG */
}

.page-login__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Form Section */
.page-login__form-section {
  padding: 60px 0;
}

.page-login__login-form {
  max-width: 500px;
  margin: 0 auto;
  background: #08160F;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E;
  border-radius: 6px;
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  font-size: 1rem;
  box-sizing: border-box;
}

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

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

.page-login__checkbox-label {
  color: #A7D9B8;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.page-login__checkbox {
  margin-right: 8px;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #2E7A4E;
  border-radius: 4px;
  background-color: #0A4B2C;
  position: relative;
  cursor: pointer;
}

.page-login__checkbox:checked {
  background-color: #2AD16F;
  border-color: #2AD16F;
}

.page-login__checkbox:checked::before {
  content: '✔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0A4B2C;
  font-size: 14px;
}

.page-login__forgot-password {
  color: #2AD16F;
  text-decoration: none;
}

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

.page-login__submit-button {
  width: 100%;
  padding: 15px;
  font-size: 1.2rem;
}

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

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

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

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-login__benefit-item {
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-login__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-login__benefit-title {
  font-size: 1.5rem;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-login__benefit-text {
  color: #A7D9B8;
  font-size: 1rem;
}

/* Security Tips Section */
.page-login__security-tips-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-login__tip-item {
  background: #08160F;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  transition: transform 0.3s ease;
}

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

.page-login__tip-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-login__tip-title {
  font-size: 1.4rem;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-login__tip-text {
  color: #A7D9B8;
  font-size: 1rem;
}

.page-login__read-more-security {
  margin-top: 40px;
}

/* Troubleshooting Section */
.page-login__troubleshooting-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-login__step-item {
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  text-align: left;
  background: #11271B;
}

.page-login__step-title {
  font-size: 1.3rem;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-login__step-text {
  color: #A7D9B8;
  font-size: 1rem;
}

.page-login__get-support {
  margin-top: 40px;
}

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

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

.page-login__faq-item {
  background: #08160F;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-login__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6;
  font-size: 1.15rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-login__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-login__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-login__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-login__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8;
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* Bottom CTA Section */
.page-login__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 10px 15px 60px;
  }

  .page-login__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 30px;
  }

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

  .page-login__description {
    font-size: 1rem;
  }

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

  .page-login__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-login__container {
    padding: 0 15px;
  }

  .page-login__form-section, .page-login__benefits-section, .page-login__security-tips-section, .page-login__troubleshooting-section, .page-login__faq-section, .page-login__cta-bottom-section {
    padding: 40px 0;
  }

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

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

  .page-login__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-login__benefits-grid, .page-login__tips-grid, .page-login__troubleshooting-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-login__benefit-item, .page-login__tip-item, .page-login__step-item {
    padding: 25px;
  }

  .page-login__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-login__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9rem;
  }

  /* Mobile specific image handling */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__hero-image-wrapper,
  .page-login__benefits-grid,
  .page-login__tips-grid,
  .page-login__troubleshooting-steps,
  .page-login__cta-buttons,
  .page-login__login-form,
  .page-login__faq-list,
  .page-login__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

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

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