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

/* Hero Section */
.page-login__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  text-align: center;
  overflow: hidden; /* Prevent content overflow */
}

.page-login__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-login__hero-content {
  max-width: 900px;
  width: 100%; /* Ensure content takes full width up to max-width */
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-login__main-title {
  font-size: clamp(2.2em, 4vw, 3em); /* Responsive H1 font size */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-login__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__text-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box; /* Ensure padding/border included in width */
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

.page-login__btn-primary:hover {
  background-color: #e07000;
  border-color: #e07000;
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand color */
  border: 2px solid #26A9E0;
}

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

.page-login__text-link {
    color: #26A9E0; /* Brand color for text links */
    text-decoration: underline;
    padding: 0;
    border: none;
    background: none;
}

.page-login__text-link:hover {
    color: #EA7C07; /* Custom login color on hover */
    text-decoration: none;
}

/* General Section Styles */
.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-login__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
}

.page-login__section-description {
  font-size: 1.05em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Security Section */
.page-login__security-section {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  padding: 80px 0;
}

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

.page-login__feature-card {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__feature-icon {
  width: 400px; /* Display width from HTML */
  height: 300px; /* Display height from HTML */
  max-width: 100%; /* Make it responsive */
  object-fit: cover; /* Fill the space */
  border-radius: 8px; /* Consistent styling */
  margin-bottom: 20px;
}

.page-login__feature-title {
  font-size: 1.5em;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 10px;
}

.page-login__feature-text {
  color: #cccccc;
  font-size: 0.95em;
}

.page-login__security-footer-text {
    text-align: center;
    color: #f0f0f0;
    margin-top: 50px;
    font-size: 1.1em;
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  background-color: #000000;
}

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

.page-login__benefit-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-login__benefit-text {
  color: #cccccc;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-login__benefits-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Promotions CTA */
.page-login__promotions-cta {
  background-color: #0d0d0d;
  padding: 60px 0;
  text-align: center;
}

.page-login__promotions-cta .page-login__container {
    background-color: #26A9E0; /* Brand color as background */
    padding: 50px;
    border-radius: 12px;
    color: #ffffff; /* White text on brand color background */
}

.page-login__promotions-cta .page-login__section-title {
    color: #ffffff;
}

.page-login__promotions-cta .page-login__section-description {
    color: #f0f0f0;
    margin-bottom: 30px;
}

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

.page-login__faq-list {
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-login__faq-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-login__faq-item summary {
  list-style: none;
}
.page-login__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-login__faq-answer {
  padding: 20px 25px;
  font-size: 0.95em;
  color: #cccccc;
  background: rgba(255, 255, 255, 0.03);
}

.page-login__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Final CTA */
.page-login__final-cta {
  background-color: #0d0d0d;
  padding: 80px 0;
  text-align: center;
}

/* General rule for content area images to ensure they are not too small */
.page-login__security-section img,
.page-login__benefits-section img,
.page-login__faq-section img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* No CSS filters for images */
.page-login img {
  filter: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-login__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-login__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .page-login__btn-primary,
  .page-login__btn-secondary {
    width: 100% !important; /* Force full width for buttons on mobile */
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-login__container {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-login__section-description {
    font-size: 0.95em;
  }

  .page-login__security-features {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .page-login__feature-card,
  .page-login__benefit-card {
    padding: 20px;
  }

  .page-login__feature-icon,
  .page-login__benefits-image,
  .page-login__faq-image,
  .page-login img { /* Apply to all images */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__promotions-cta .page-login__container {
    padding: 30px !important;
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__video-section,
  .page-login__video-container,
  .page-login__video-wrapper,
  .page-login__cta-buttons,
  .page-login__button-group,
  .page-login__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-login__video-section {
    padding-top: 10px !important;
  }
}