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

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

.page-login__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

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

.page-login__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

.page-login__main-title {
  font-size: 3.2em;
  color: #FFFF00; /* Custom color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for section titles */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-login__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFFF00; /* Custom highlight color */
  border-radius: 2px;
}

.page-login__description,
.page-login__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-login__hero-section {
  padding: var(--header-offset, 120px) 0 80px 0;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.page-login__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-login__hero-section .page-login__container {
  z-index: 2;
  position: relative;
}

.page-login__form-wrapper {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  margin: 40px auto 0 auto;
  border: 1px solid #017439;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.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: 100%;
  padding: 12px 15px;
  border: 1px solid #017439;
  border-radius: 5px;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

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

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

.page-login__btn-register {
  background-color: #017439; /* Primary brand color for register */
  color: #ffffff;
  padding: 14px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.page-login__btn-register:hover {
  background-color: #02944b;
  transform: translateY(-2px);
}

.page-login__forgot-password-link {
  display: block;
  margin-top: 20px;
  color: #FFFF00; /* Custom link color */
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

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

.page-login__features-grid,
.page-login__steps-grid,
.page-login__troubleshoot-grid,
.page-login__security-grid,
.page-login__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.page-login__feature-item,
.page-login__troubleshoot-item,
.page-login__security-item,
.page-login__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(1, 116, 57, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

.page-login__feature-title,
.page-login__troubleshoot-title,
.page-login__security-title,
.page-login__benefit-title {
  font-size: 1.5em;
  color: #FFFF00; /* Custom title color */
  margin-bottom: 15px;
}

.page-login__feature-description,
.page-login__troubleshoot-description,
.page-login__security-description,
.page-login__benefit-description {
  font-size: 1em;
  color: #cccccc;
}

.page-login__step-item {
  background-color: #017439;
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-login__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00; /* Custom step icon color */
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.page-login__step-title {
  font-size: 1.6em;
  color: #FFFF00; /* Custom step title color */
  margin-bottom: 15px;
}

.page-login__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-login__video-container {
  margin-top: 50px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-login__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  border-radius: 10px;
}

.page-login__video-link:hover .page-login__video-overlay {
  opacity: 1;
}

.page-login__troubleshoot-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%;
}

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

.page-login__btn-secondary {
  background-color: #FFFF00; /* Custom button color */
  color: #0a0a0a; /* Dark text for light button */
  padding: 14px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
}

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

.page-login__btn-primary {
  background-color: #C30808; /* Custom button color */
  color: #FFFF00; /* Custom font color */
  padding: 14px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
}

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

.page-login__benefit-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%;
}

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

.page-login__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #017439;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-login__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #017439;
  color: #FFFF00; /* Custom FAQ question color */
  transition: background-color 0.3s ease;
}

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

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

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

.page-login__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFFF00;
}

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

.page-login__faq-answer {
  padding: 20px;
  padding-top: 0;
  text-align: left;
  color: #f0f0f0;
  font-size: 1em;
  line-height: 1.6;
}

/* Image specific styles */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 500px;
  }

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

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

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

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

  .page-login__form-actions {
    flex-direction: column;
    gap: 10px;
  }

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

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

  .page-login__features-grid,
  .page-login__steps-grid,
  .page-login__troubleshoot-grid,
  .page-login__security-grid,
  .page-login__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-login__container {
    padding: 0 15px;
  }

  .page-login img,
  .page-login video,
  .page-login__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__video-container {
    padding-bottom: 75%; /* Adjust for mobile 4:3 or similar */
  }

  .page-login__video-section,
  .page-login__video-container,
  .page-login__video-wrapper,
  .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;
    overflow: hidden !important;
  }

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

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

  .page-login__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }

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

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

  .page-login__form-wrapper {
    margin: 20px auto 0 auto;
    padding: 15px;
  }

  .page-login__btn-login,
  .page-login__btn-register,
  .page-login__btn-secondary,
  .page-login__btn-primary {
    padding: 10px 15px;
    font-size: 0.9em;
  }

  .page-login__forgot-password-link {
    font-size: 0.85em;
  }

  .page-login__feature-title,
  .page-login__troubleshoot-title,
  .page-login__security-title,
  .page-login__benefit-title {
    font-size: 1.3em;
  }

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

  .page-login__video-overlay {
    font-size: 1.2em;
  }
}