/* style/login.css */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000000, so text should be light */
  background-color: #000000;
}

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

.page-login__hero-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0, #1a7aab); /* Brand colors gradient */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-login__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__btn-submit {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

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

.page-login__btn-primary:hover,
.page-login__btn-submit:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-login__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-login__form-section {
  padding: 80px 20px;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-login__form-container {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.page-login__login-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white card */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
}

.page-login__card-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #222;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  font-size: 0.9em;
}

.page-login__forgot-password,
.page-login__register-link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover,
.page-login__register-link:hover {
  color: #1a7aab;
}

.page-login__image-container {
  max-width: 500px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__form-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-login__benefits-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
}

.page-login__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.1em;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-login__benefit-item {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white card */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-login__benefit-icon {
  width: 100%; /* Ensure large image */
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-login__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-login__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-login__video-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-login__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

.page-login__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%; /* Ensure video is responsive */
  display: block;
}

.page-login__faq-section {
  padding: 80px 20px;
  background-color: #000000;
  color: #ffffff;
}

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

.page-login__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white card */
  border-radius: 10px;
  overflow: hidden;
  color: #ffffff;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-login__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-login__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #f0f0f0;
}

/* Details element specific styling */
details.page-login__faq-item[open] .page-login__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-login__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

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

@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-login__hero-section,
  .page-login__form-section,
  .page-login__benefits-section,
  .page-login__video-section,
  .page-login__faq-section,
  .page-login__cta-section {
    padding: 40px 15px;
  }
  .page-login__hero-title {
    font-size: 2.2em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__section-description {
    font-size: 0.95em;
  }
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login__btn-submit {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-login__form-container {
    flex-direction: column;
  }
  .page-login__login-card {
    padding: 30px;
  }
  .page-login__card-title {
    font-size: 1.8em;
  }
  .page-login__form-options {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .page-login__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-login__benefit-item {
    padding: 25px;
  }
  .page-login__benefit-icon {
    max-width: 200px;
  }
  .page-login__video-wrapper {
    margin-top: 20px;
  }
  .page-login__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-login__faq-answer {
    padding: 0 15px 15px;
  }
  /* Ensure all images are responsive on mobile */
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__section,
  .page-login__card,
  .page-login__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section has proper padding on mobile */
  }
  .page-login video,
  .page-login__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__video-section,
  .page-login__video-container,
  .page-login__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}