.page-login {
  /* Body background is #1a1a2e (dark) from shared.css, so main text color should be light */
  color: #ffffff;
  background-color: transparent; /* Inherit from body */
}

.page-login__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow: hidden;
}

.page-login__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-login__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

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

.page-login__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__login-form-wrapper {
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white for contrast */
  border-radius: 10px;
  padding: 40px;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #017439; /* Brand color border */
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9); /* Near white for input */
  color: #333333; /* Dark text for input */
  font-size: 1em;
}

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

.page-login__form-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.page-login__btn-login {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background-color: #C30808; /* Login button color */
  color: #FFFF00; /* Login button text color */
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

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

.page-login__link-forgot-password {
  color: #f0f0f0;
  text-decoration: none;
  text-align: center;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-login__link-forgot-password:hover {
  color: #017439;
}

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

.page-login__link-register {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__link-register:hover {
  color: #00a040;
}

.page-login__section {
  padding: 80px 0;
  text-align: center;
}

.page-login__section-title {
  font-size: 2.8em;
  color: #017439;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.15em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-login__why-login-yo88 {
  background-color: #1a1a2e; /* Dark background to ensure light text */
}

.page-login__why-login-yo88 .page-login__section-title,
.page-login__why-login-yo88 .page-login__section-description {
  color: #ffffff;
}

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

.page-login__feature-item {
  background: rgba(255, 255, 255, 0.1); /* Light transparent background for cards */
  border-radius: 10px;
  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;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-login__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-login__feature-title {
  font-size: 1.8em;
  color: #017439; /* Brand color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__feature-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-login__subsection-title {
  font-size: 2.2em;
  color: #017439;
  margin-top: 60px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__subsection-description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-login__how-to-login {
  background-color: #2a2a4e; /* Slightly different dark background */
}

.page-login__how-to-login .page-login__section-title,
.page-login__how-to-login .page-login__section-description {
  color: #ffffff;
}

.page-login__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-login__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__step-number {
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 20px;
}

.page-login__step-content {
  flex-grow: 1;
}

.page-login__step-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 8px;
  font-weight: bold;
}

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

.page-login__issues-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.page-login__issues-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__issues-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-login__issues-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

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

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

.page-login__trust-security {
  background-color: #1a1a2e;
}

.page-login__trust-security .page-login__section-title,
.page-login__trust-security .page-login__section-description {
  color: #ffffff;
}

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

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

.page-login__info-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__info-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-login__faq-section {
  background-color: #2a2a4e;
}

.page-login__faq-section .page-login__section-title {
  color: #ffffff;
}

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

.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-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-login__faq-title {
  font-size: 1.3em;
  color: #ffffff;
  margin: 0;
  font-weight: bold;
  flex-grow: 1;
}

.page-login__faq-toggle {
  font-size: 1.8em;
  color: #017439;
  font-weight: bold;
  margin-left: 20px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-login__faq-item.active .page-login__faq-toggle {
  transform: rotate(45deg);
  color: #C30808;
}

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 25px 25px;
}

.page-login__faq-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-login__cta-section {
  background-color: #017439; /* Brand primary color background */
  color: #ffffff;
  padding: 80px 0;
}

.page-login__cta-section .page-login__section-title,
.page-login__cta-section .page-login__section-description {
  color: #ffffff;
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-login__btn-primary {
  background-color: #C30808; /* Login button color */
  color: #FFFF00; /* Login button text color */
  border: 2px solid #C30808;
}

.page-login__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-2px);
}

.page-login__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand color text */
  border: 2px solid #ffffff;
}

.page-login__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #00a040;
  border-color: #f0f0f0;
  transform: translateY(-2px);
}

/* General responsive image/video styles */
.page-login img,
.page-login video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-login__hero-title {
    font-size: 2.2em;
  }

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

  .page-login__login-form-wrapper {
    padding: 30px 20px;
    max-width: 90%;
  }

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

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

  .page-login__section {
    padding: 50px 0;
  }

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

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

  .page-login__features-grid,
  .page-login__info-grid {
    grid-template-columns: 1fr;
  }

  .page-login__feature-title,
  .page-login__info-title {
    font-size: 1.5em;
  }

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

  .page-login__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-login__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-login__step-content {
    width: 100%;
  }

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

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

  .page-login__faq-title {
    font-size: 1.1em;
  }

  .page-login__faq-toggle {
    font-size: 1.5em;
  }

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

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

  .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__hero-section {
    min-height: 600px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__login-form-wrapper,
  .page-login__feature-item,
  .page-login__step-item,
  .page-login__issues-item,
  .page-login__info-card,
  .page-login__faq-item,
  .page-login__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__hero-overlay .page-login__container {
    padding-left: 0;
    padding-right: 0;
  }
}