.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0d0d1a; /* Inherited from shared.css body, but ensure consistency */
}

.page-login__dark-bg {
  background-color: #0d0d1a;
  color: #ffffff;
}

.page-login__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-login__dark-text {
  color: #333333;
}

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

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-login__hero-image {
  width: 1200px;
  height: 675px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px; /* Space between image and content */
}

.page-login__hero-content {
  max-width: 800px;
  padding: 0 20px;
  box-sizing: border-box;
}

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

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

.page-login__login-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-login__login-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 25px;
}

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

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

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

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

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 14px 25px;
  background-color: #EA7C07; /* Custom color for login */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

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

.page-login__form-links {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.page-login__link-secondary {
  color: #26A9E0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.page-login__link-secondary:hover {
  color: #4dc2f5;
  text-decoration: underline;
}

.page-login__info-section,
.page-login__guide-section,
.page-login__video-section,
.page-login__benefits-section,
.page-login__faq-section,
.page-login__cta-register-section,
.page-login__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-login__section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-login__section-description {
  font-size: 1rem;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

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

.page-login__feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-login__feature-icon {
  width: 200px; /* Min size requirement */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-login__feature-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-login__feature-text {
  font-size: 0.95rem;
  color: #e0e0e0;
}

.page-login__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-login__step-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-login__step-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__step-text {
  font-size: 1rem;
  color: #555555;
}

.page-login__subsection-title {
  font-size: 1.8rem;
  margin-top: 50px;
  margin-bottom: 25px;
}

.page-login__checklist {
  list-style: disc inside;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 40px;
  padding-left: 20px;
}

.page-login__checklist li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #555555;
}

.page-login__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.page-login__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-login__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

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

.page-login__promo-card {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-login__promo-image {
  width: 200px; /* Min size requirement */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__promo-text {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 20px;
}

.page-login__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-login__btn-secondary:hover {
  background-color: #1e87bb;
}

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

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

.page-login__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* Remove default marker */
}

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

.page-login__faq-item[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-login__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

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

.page-login__register-cta-button {
  margin-top: 30px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__register-image {
  width: 600px;
  height: 338px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__hero-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-bottom: 40px;
  }

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

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

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

  .page-login__login-title {
    font-size: 1.8rem;
  }

  .page-login__form-links {
    flex-direction: column;
    align-items: center;
  }

  .page-login__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

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

  .page-login__feature-grid, .page-login__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-login__feature-icon, .page-login__promo-image {
    width: 250px;
    height: auto;
  }

  .page-login__step-by-step {
    gap: 20px;
  }

  .page-login__step-title {
    font-size: 1.4rem;
  }

  .page-login__checklist {
    padding-left: 15px;
  }

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

  .page-login__btn-primary,
  .page-login__btn-secondary {
    width: 100%;
    max-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,
  .page-login__button-group,
  .page-login__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-login__section, .page-login__card, .page-login__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
  }
}