.page-login {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Ensures a consistent background for the page content */
}

.page-login__hero-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-login__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-login__main-title {
  font-size: 3em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__hero-description {
  font-size: 1.2em;
  color: #555555;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-login__login-form-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.page-login__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-login__login-form {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  text-align: left;
}

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

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__submit-button:hover {
  background-color: #e0a73d;
}

.page-login__form-link-text {
  text-align: center;
  margin-top: 15px;
  font-size: 0.95em;
}

.page-login__register-link,
.page-login__forgot-password-link {
  color: #000000; /* Use main color for links for consistency */
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.page-login__info-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-login__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
}

.page-login__section-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-login__login-steps {
  list-style-type: none;
  padding: 0;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-login__step-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  counter-increment: step-counter;
  position: relative;
  text-align: center;
}

.page-login__step-item::before {
  content: counter(step-counter);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-login__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

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

.page-login__security-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-login__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-login__security-tips {
  list-style-type: none;
  padding: 0;
  max-width: 600px;
  text-align: left;
}

.page-login__tip-item {
  background-color: #FFFFFF;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-login__tip-item strong {
  color: #000000;
}

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

.page-login__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 8px;
  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;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

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

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

.page-login__faq-answer {
  padding: 20px;
  color: #555555;
  font-size: 1em;
  border-top: 1px solid #eee;
}

.page-login__faq-answer p {
  margin: 0;
}

/* Floating Login/Register Buttons */
.page-login__floating-button {
  position: fixed;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #000000; /* Default dark background */
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 1000;
  font-size: 0.8em;
  font-weight: bold;
  text-align: center;
}

.page-login__floating-button img {
  
  
  margin-bottom: 2px;
  /* Removed filter: brightness(0) invert(1); to comply with no filter rule for color change. */
  /* Image should be generated with appropriate color. */
  min- /* Minimum display size for icons */
  min- /* Minimum display size for icons */
}

.page-login__floating-button--login {
  bottom: 100px;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-login__floating-button--login:hover {
  transform: scale(1.1);
  background-color: #e0a73d;
}

.page-login__floating-button--register {
  bottom: 30px;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
}

.page-login__floating-button--register:hover {
  transform: scale(1.1);
  background-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.5em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__hero-container {
    flex-direction: column;
  }
  .page-login__login-form-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-login__main-title {
    font-size: 2em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__login-form {
    padding: 30px 20px;
  }
  .page-login__login-form-wrapper {
    gap: 20px;
  }
  .page-login__info-section {
    padding: 30px 15px;
    margin: 20px auto;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__login-steps {
    grid-template-columns: 1fr;
  }
  .page-login__security-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-login__security-image {
    width: 100%; /* Ensure images don't overflow */
    height: auto;
    max-width: 100%; /* Important for mobile overflow prevention */
    min-width: 200px;
    min-height: 200px;
  }
  .page-login__floating-button {
    width: 50px;
    height: 50px;
    font-size: 0.7em;
    right: 15px;
  }
  .page-login__floating-button img {
    
    
    min-
    min-
  }
  .page-login__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-login__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__login-form {
    max-width: 90%;
  }
  .page-login__floating-button {
    width: 45px;
    height: 45px;
    font-size: 0.65em;
    right: 10px;
  }
  .page-login__floating-button img {
    
    
    min-
    min-
  }
}