/* style/login.css */
/* Body background is #1c1c1c (dark), so text should be light by default. */
.page-login {
  color: #ffffff; /* Default text color for dark body 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__dark-bg {
  background: #1c1c1c;
  color: #ffffff;
}

.page-login__light-bg {
  background: #262626; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

/* Hero Section */
.page-login__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px; /* Small top padding, more bottom */
  text-align: center;
  background: linear-gradient(135deg, #1c1c1c, #000000);
}

.page-login__hero-section .page-login__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-login__hero-content {
  max-width: 800px;
}

.page-login__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-login__form-wrapper {
  background: #262626; /* Form background */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 450px;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

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

.page-login__form-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
}

.page-login__login-form {
  width: 100%;
}

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

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

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

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

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

.page-login__remember-me {
  color: #f0f0f0;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #26A9E0; /* Checkbox color */
}

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

.page-login__forgot-password:hover {
  color: #5ac4f8;
}

.page-login__btn-login {
  width: 100%;
  padding: 15px;
  background: #EA7C07; /* Specific login button color */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-login__btn-login:hover {
  background: #d46c05;
  transform: translateY(-2px);
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 25px;
  color: #f0f0f0;
}

.page-login__register-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #5ac4f8;
}

/* General Section Styles */
.page-login__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #26A9E0;
}

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

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

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

.page-login__benefit-card {
  background: #1c1c1c;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-login__benefit-icon {
  width: 200px; /* Min size requirement */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__card-text {
  font-size: 1rem;
  color: #e0e0e0;
}

/* Experience Section */
.page-login__experience-section {
  padding: 80px 0;
}

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

.page-login__content-card {
  background: #262626;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #ffffff;
}

.page-login__content-card .page-login__card-title {
  padding: 20px 25px 0;
}

.page-login__content-card .page-login__card-text {
  padding: 0 25px 25px;
}

.page-login__content-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #333;
}

/* Promotions Section */
.page-login__promotions-section {
  padding: 80px 0;
}

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

.page-login__promo-card {
  background: #1c1c1c;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #ffffff;
}

.page-login__promo-card .page-login__card-title {
  padding: 20px 25px 0;
}

.page-login__promo-card .page-login__card-text {
  padding: 0 25px 25px;
}

.page-login__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #333;
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 300px; /* Limit button width for desktop */
  width: 100%;
}

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

.page-login__btn-primary:hover {
  background: #5ac4f8;
  transform: translateY(-2px);
}

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

.page-login__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* App Download Section */
.page-login__app-section {
  padding: 80px 0;
}

.page-login__app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-login__app-text {
  flex: 1;
  min-width: 300px;
  color: #f0f0f0;
}

.page-login__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-login__app-features li {
  margin-bottom: 15px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

.page-login__feature-icon {
  color: #26A9E0;
  font-size: 1.3rem;
  margin-right: 10px;
}

.page-login__app-image-wrapper {
  flex: 1;
  min-width: 250px;
  display: flex;
  justify-content: center;
}

.page-login__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-login__faq-item {
  background: #1c1c1c;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  border-bottom: 1px solid #333;
  list-style: none; /* For details summary */
}

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

.page-login__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #e0e0e0;
}

/* Contact CTA Section */
.page-login__contact-cta {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-login__hero-section .page-login__container {
    flex-direction: row; /* Desktop: hero image and form side-by-side */
    justify-content: center;
  }
  .page-login__hero-content {
    text-align: left;
    max-width: 50%;
  }
  .page-login__form-wrapper {
    max-width: 400px;
  }
  .page-login__app-content {
    flex-wrap: nowrap;
  }
  .page-login__app-text {
    order: 1;
  }
  .page-login__app-image-wrapper {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 10px 0 40px;
  }
  .page-login__hero-title {
    font-size: 2rem;
  }
  .page-login__hero-description {
    font-size: 1rem;
  }
  .page-login__form-wrapper {
    padding: 30px 20px;
  }
  .page-login__section-title {
    font-size: 1.6rem;
  }
  .page-login__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-login__benefits-section,
  .page-login__experience-section,
  .page-login__promotions-section,
  .page-login__app-section,
  .page-login__faq-section,
  .page-login__contact-cta {
    padding: 50px 0;
  }
  .page-login__benefits-grid,
  .page-login__content-grid,
  .page-login__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-login__benefit-card,
  .page-login__content-card,
  .page-login__promo-card {
    padding: 20px;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary {
    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;
  }
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__app-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-login__app-text,
  .page-login__app-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-login__app-image {
    max-width: 300px;
  }
  .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__app-content, .page-login__cta-buttons, .page-login__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-login__hero-section .page-login__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-login__faq-answer {
    padding: 0 20px 15px;
  }
}