/* style/login.css */
.page-login {
  color: #ffffff; /* Body background is #000000 (dark), so text should be light */
  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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top margin, body handles --header-offset */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #000000 100%);
}

.page-login__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 800px;
}

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

.page-login__form-wrapper {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-login__form-group {
  text-align: left;
}

.page-login__label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
}

.page-login__input {
  width: 100%;
  padding: 12px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333333;
  box-sizing: border-box;
}

.page-login__input::placeholder {
  color: #666666;
}

.page-login__form-options {
  display: flex;
  justify-content: flex-end;
}

.page-login__forgot-password {
  color: #26A9E0;
  text-decoration: none;
  font-size: 0.9em;
}

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

.page-login__btn-primary {
  background: #EA7C07;
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
}

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

.page-login__register-text {
  margin-top: 20px;
  color: #f0f0f0;
}

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

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

.page-login__info-section {
  padding: 60px 20px;
  background: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for contrast */
  text-align: center;
}

.page-login__section-title {
  font-weight: bold;
  margin-bottom: 40px;
  color: #26A9E0;
}

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

.page-login__card {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-login__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  object-fit: cover;
}

.page-login__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-login__card-text {
  font-size: 1em;
  color: #555555;
}

.page-login__cta-section {
  padding: 60px 20px;
  background: #000000;
  text-align: center;
}

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

.page-login__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-login__faq-section {
  padding: 60px 20px;
  background: #f8f8f8; /* Light background for contrast */
  color: #333333; /* Dark text for contrast */
}

.page-login__faq-list {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 40px;
}

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

.page-login__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  background-color: #f2f2f2;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-item summary:hover {
  background-color: #e6e6e6;
}

.page-login__faq-qtext {
  flex-grow: 1;
}

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

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

.page-login__faq-answer {
  padding: 15px 25px;
  border-top: 1px solid #e0e0e0;
  font-size: 1em;
  color: #555555;
}

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

.page-login__download-app-btn {
  margin-top: 10px;
  display: inline-block;
}

.page-login__contact-section {
  padding: 60px 20px;
  background: #000000;
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

  .page-login__form-wrapper {
    padding: 20px;
  }

  .page-login__cards-grid {
    grid-template-columns: 1fr;
  }

  .page-login__card {
    padding: 20px;
  }

  .page-login__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-login__btn-primary,
  .page-login__btn-secondary,
  .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;
  }

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

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

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

  .page-login__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__form-wrapper,
  .page-login__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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