/* style/login.css */

/* Base styles for the login page */
.page-login {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Body background is default white */
  line-height: 1.6;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px; /* Ensure enough height */
  background: url('[GALLERY:hero_main:1920x1080:login,background,platform,95win,online_betting]') no-repeat center center/cover;
  color: #FFFFFF;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-login__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Special color for main title */
  line-height: 1.2;
}

.page-login__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Login Form */
.page-login__form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  margin: 40px auto 0;
  text-align: left;
  color: #333333;
}

.page-login__form-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #017439;
  text-align: center;
}

.page-login__form-description {
  font-size: 0.95em;
  margin-bottom: 30px;
  text-align: center;
  color: #555555;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

.page-login__checkbox {
  margin-right: 8px;
}

.page-login__checkbox-label {
  color: #555555;
}

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

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

.page-login__btn-submit {
  width: 100%;
  padding: 14px;
  background-color: #C30808; /* Login button color */
  color: #FFFF00; /* Login button font color */
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-login__btn-submit:hover {
  background-color: #a30606;
}

.page-login__register-text {
  text-align: center;
  margin-top: 25px;
  font-size: 0.95em;
  color: #555555;
}

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

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

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

.page-login__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #017439;
  line-height: 1.2;
}

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

/* Info Section (How to Login) */
.page-login__info-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background for this section */
  color: #FFFFFF; /* Light text for dark background */
}

.page-login__info-section .page-login__section-title {
  color: #FFFF00; /* Yellow title for dark background */
}

.page-login__info-section .page-login__section-description {
  color: #f0f0f0;
}

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

.page-login__step-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-login__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00;
}

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

/* Features Section */
.page-login__features-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text for light background */
}

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

.page-login__feature-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login__feature-icon {
  width: 100%; /* Ensure images fill card width */
  max-width: 250px; /* Max width for icons */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

.page-login__feature-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #017439;
}

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

/* Troubleshooting Section */
.page-login__troubleshooting-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background */
  color: #FFFFFF; /* Light text */
}

.page-login__troubleshooting-section .page-login__section-title {
  color: #FFFF00; /* Yellow title */
}

.page-login__troubleshooting-section .page-login__section-description {
  color: #f0f0f0;
}

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

.page-login__trouble-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-login__trouble-card:hover {
  transform: translateY(-5px);
}

.page-login__trouble-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-login__trouble-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-login__trouble-contact-link {
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
}

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

/* FAQ Section */
.page-login__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text */
}

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

.page-login__faq-item {
  background: #f9f9f9;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #017439;
  background-color: #e8f5e9; /* Light green background for questions */
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #dcedc8;
}

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

.page-login__faq-item[open] .page-login__faq-toggle {
  content: "−";
}

.page-login__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95em;
  color: #555555;
  line-height: 1.7;
}

.page-login__faq-answer p {
  margin-bottom: 10px;
}

.page-login__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Styling for <details> and <summary> to remove default marker */
.page-login__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-login__faq-item summary::-webkit-details-marker {
  display: none; /* For Webkit browsers */
}


/* Floating Buttons */
.page-login__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-login__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  color: #FFFF00; /* Yellow text for floating buttons */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  min-width: 120px; /* Ensure minimum width */
  text-align: center;
}

.page-login__floating-btn--register {
  background-color: #C30808; /* Register button color */
}

.page-login__floating-btn--register:hover {
  background-color: #a30606;
  transform: translateY(-3px);
}

.page-login__floating-btn--login {
  background-color: #017439; /* Login button color */
}

.page-login__floating-btn--login:hover {
  background-color: #005a2e;
  transform: translateY(-3px);
}


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

@media (max-width: 768px) {
  .page-login__hero-section {
    min-height: 600px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-login__hero-content {
    padding: 0 15px;
  }

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

  .page-login__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-login__form-wrapper {
    padding: 30px 20px;
    margin-top: 20px;
    max-width: 100%;
  }

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

  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

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

  .page-login__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-login__step-by-step,
  .page-login__features-grid,
  .page-login__troubleshooting-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__feature-icon {
    max-width: 100%; /* Ensure images fill card width */
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-login__faq-answer {
    padding: 10px 20px 15px;
  }

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

  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__form-wrapper,
  .page-login__step-item,
  .page-login__feature-card,
  .page-login__trouble-card,
  .page-login__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile video responsiveness - no video on this page, but keeping the rule */
  .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;
  }

  /* Mobile button responsiveness */
  .page-login__btn-submit,
  .page-login__btn-promo,
  .page-login__floating-btn,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
 }}