.page-login {
  color: #ffffff; /* Text color for overall page, assuming dark background */
  /* background-color: var(--secondary-color); /* This will be the body background, shared CSS might override */
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

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

.page-login__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

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

.page-login__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 15px;
}

.page-login__main-heading {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  line-height: 1.2;
}

.page-login__sub-heading {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-login__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-login__login-button,
.page-login__register-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  font-size: 1.1em;
}

.page-login__login-button {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Contrast with login button */
  border: 2px solid #FCBC45;
}

.page-login__login-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-login__register-button {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register color */
  border: 2px solid #FFFFFF;
}

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

.page-login__form-section {
  background-color: #1a1a1a; /* Dark background for form */
  padding: 60px 0;
  text-align: center;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #FCBC45;
  margin-bottom: 20px;
}

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

.page-login__login-form {
  background-color: #0d0d0d;
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: #222;
  color: #fff;
  font-size: 1em;
}

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

.page-login__form-options {
  text-align: right;
  margin-bottom: 20px;
}

.page-login__forgot-password {
  color: #FCBC45;
  text-decoration: none;
  font-size: 0.95em;
}

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

.page-login__submit-button {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-login__submit-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-login__no-account {
  color: #f0f0f0;
  margin-top: 30px;
  font-size: 1em;
}

.page-login__register-link {
  color: #FFFFFF; /* Register color */
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__process-section {
  background-color: #000000; /* Main color */
  padding: 80px 0;
  text-align: center;
}

.page-login__process-image {
  width: 800px;
  height: 600px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-login__process-item {
  background-color: #0d0d0d;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-login__process-step-title {
  color: #FCBC45;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.page-login__process-step-description {
  color: #f0f0f0;
  line-height: 1.6;
  font-size: 1em;
}

.page-login__security-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  text-align: center;
}

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

.page-login__security-item {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-login__security-image {
  width: 400px;
  height: 300px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__security-item-title {
  color: #FCBC45;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-login__security-item-description {
  color: #f0f0f0;
  line-height: 1.6;
  font-size: 0.95em;
}

.page-login__faq-section {
  background-color: #000000;
  padding: 80px 0;
  text-align: center;
}

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

.page-login__faq-item {
  background-color: #0d0d0d;
  border: 1px solid #333;
  border-radius: 10px;
  margin-bottom: 15px;
  text-align: left;
  color: #f0f0f0;
}

.page-login__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FCBC45;
  cursor: pointer;
  position: relative;
  user-select: none;
}

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

.page-login__faq-question::before {
  content: '+';
  position: absolute;
  right: 25px;
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-question::before {
  content: '-';
  transform: rotate(180deg);
}

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

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

@media (max-width: 768px) {
  .page-login__main-heading {
    font-size: 2.5em;
  }
  .page-login__sub-heading {
    font-size: 1em;
  }
  .page-login__hero-content {
    padding: 30px;
  }
  .page-login__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__login-button,
  .page-login__register-button {
    width: 100%;
    min-width: unset;
  }
  .page-login__form-section, .page-login__process-section, .page-login__security-section, .page-login__faq-section {
    padding: 40px 0;
  }
  .page-login__process-list,
  .page-login__security-grid,
  .page-login__faq-list {
    padding: 0 15px;
  }
  .page-login__process-item,
  .page-login__security-item,
  .page-login__faq-item {
    padding: 20px;
  }
  .page-login__form-input,
  .page-login__submit-button {
    font-size: 1em;
  }
  .page-login__process-image,
  .page-login__security-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all images within .page-login are responsive and not too small */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area does not cause horizontal scroll */
  .page-login {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-login__main-heading {
    font-size: 2em;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__faq-question {
    font-size: 1.1em;
  }
}