.page-login__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%); /* Main brand color gradient */
}

.page-login__hero-section .page-login__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-login__hero-content {
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

.page-login__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.page-login__intro-text {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-login__login-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 450px;
  margin-top: 30px;
}

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

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

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

.page-login__form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

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

.page-login__form-input:focus {
  border-color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
  outline: none;
}

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

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

.page-login__checkbox {
  margin-right: 8px;
}

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

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

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

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

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

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

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

.page-login__benefits-section,
.page-login__faq-section {
  padding: 80px 20px;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
  text-align: center;
}

.page-login__security-section,
.page-login__cta-section {
  padding: 80px 20px;
  background-color: #0a0a0a; /* Dark background from shared.css */
  color: #ffffff; /* Light text for dark background */
  text-align: center;
}

.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-login__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: 700;
  color: inherit;
}

.page-login__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

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

.page-login__benefit-item {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

.page-login__benefit-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-login__security-section .page-login__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-login__security-content {
  flex: 1;
}

.page-login__security-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-login__security-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-login__security-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-login__security-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
  font-size: 1.2em;
  top: 0;
}

.page-login__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1em;
  font-weight: 600;
  color: #26A9E0;
  background-color: #ffffff;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

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

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

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #f0f0f0;
}

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

.page-login__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #f8f8f8;
}

.page-login__faq-item[open] > .page-login__faq-question {
  border-bottom: none;
}

.page-login__faq-item > summary {
  list-style: none;
}

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

.page-login__faq-more-btn {
  margin-top: 30px;
}

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

.page-login__cta-section .page-login__text-block {
  color: #f0f0f0;
}

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

.page-login__register-cta-button {
  background-color: #26A9E0; /* Brand color for register CTA */
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: 700;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-login__register-cta-button:hover {
  background-color: #1a7bbd;
  transform: translateY(-2px);
}

.page-login__register-cta-button .page-login__cta-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.page-login__view-promos-button {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

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

/* --- Responsive Styles --- */
/* General image responsiveness */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .page-login__hero-section .page-login__container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .page-login__hero-content {
    padding-right: 0;
    text-align: center;
  }

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

  .page-login__intro-text {
    font-size: 1em;
  }

  .page-login__login-card {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    padding: 25px 15px;
  }

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

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

  .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 !important;
    padding-right: 15px !important;
  }

  .page-login__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-login__text-block {
    font-size: 0.95em;
  }

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

  .page-login__security-section .page-login__container {
    flex-direction: column;
    text-align: center;
  }

  .page-login__security-content {
    order: 2;
  }

  .page-login__security-image-wrapper {
    order: 1;
    margin-bottom: 20px;
  }

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

  .page-login__register-cta-button,
  .page-login__view-promos-button {
    width: 100%;
  }

  /* Force responsive for all images in content area */
  .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__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Fixed header offset for mobile */
  }
}

/* Ensure details summary toggle works */
.page-login__faq-item[open] .page-login__faq-toggle {
  content: '−';
}

/* Custom color rules */
.page-login__login-button {
  background-color: #EA7C07;
}
.page-login__login-button:hover {
  background-color: #d16b05;
}

.page-login__forgot-password:hover,
.page-login__register-link:hover {
  color: #EA7C07;
}