/* style/login.css */
.page-login {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-login__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px;
  background: #000000; /* Ensure dark background for the hero section */
  color: #ffffff;
  text-align: center;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

.page-login__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-login__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-login__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

.page-login__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87c2;
  border-color: #1e87c2;
}

.page-login__form-section {
  padding: 60px 20px;
  background: #FFFFFF;
  color: #333333;
  text-align: center;
}

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

.page-login__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000;
}

.page-login__section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555555;
}

.page-login__login-form {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

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

.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: #26A9E0;
  text-decoration: none;
  font-weight: 500;
}

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

.page-login__btn-login {
  width: 100%;
  background: #EA7C07;
  color: #ffffff;
  border: none;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-login__btn-login:hover {
  background: #c26505;
}

.page-login__register-text {
  margin-top: 30px;
  font-size: 1rem;
  color: #555555;
}

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

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

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

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

.page-login__advantage-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login__advantage-icon {
  width: 100%; /* Ensure images fill card width */
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.page-login__faq-section {
  padding: 60px 20px;
  background: #FFFFFF;
  color: #333333;
  text-align: center;
}

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

.page-login__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-login__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-login__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #26A9E0;
  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 25px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-login__hero-section,
  .page-login__form-section,
  .page-login__advantages-section,
  .page-login__faq-section,
  .page-login__cta-bottom {
    padding: 30px 15px;
  }

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

  .page-login__hero-image,
  .page-login__advantage-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

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

  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login__btn-login {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-login__section-title {
    font-size: 2rem;
  }

  .page-login__section-description {
    font-size: 1rem;
  }

  .page-login__login-form {
    padding: 25px;
  }

  .page-login__form-input {
    width: calc(100% - 20px);
  }

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

  .page-login__advantage-card {
    padding: 20px;
  }

  .page-login__card-title {
    font-size: 1.3rem;
  }

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

  .page-login__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }
}