/* style/login.css */

/* Base styles for the login page content */
.page-login {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

.page-login__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-login__section:last-of-type {
  border-bottom: none;
}

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

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

/* Hero Section */
.page-login__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero content over image */
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the background image for text readability */
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 900px;
}

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

.page-login__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-login__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-login__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-login__button--login:hover {
  background-color: #e0a53a;
  color: #000000;
}

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

.page-login__button--register:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* Login Form Area */
.page-login__login-form-area {
  background-color: #f9f9f9;
}

.page-login__login-card {
  display: flex;
  flex-wrap: wrap;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 40px;
}

.page-login__login-image-wrapper {
  flex: 1;
  min-width: 300px;
  background-color: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-login__login-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-login__form {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-login__form-input:focus {
  border-color: #FCBC45;
  outline: none;
  box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.2);
}

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

.page-login__button--submit {
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
  padding: 15px 20px;
}

.page-login__button--submit:hover {
  background-color: #e0a53a;
}

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

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

.page-login__disclaimer {
  text-align: center;
  margin-top: 30px;
  font-size: 1em;
  color: #555555;
}

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

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

/* Login Process Section */
.page-login__process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-login__process-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-login__process-item:hover {
  transform: translateY(-5px);
}

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

.page-login__process-item p {
  color: #555555;
  font-size: 0.95em;
}

.page-login__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-login__button--login-bottom {
  background-color: #000000;
  color: #FCBC45;
  padding: 18px 35px;
  font-size: 1.2em;
  border: 2px solid #FCBC45;
}

.page-login__button--login-bottom:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #000000;
}

/* Security Section */
.page-login__security-section {
  background-color: #f0f0f0;
}

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

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

.page-login__security-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  min-width: 200px;
  min-height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-login__security-item p {
  color: #555555;
  font-size: 0.95em;
}

/* FAQ Section */
.page-login__faq-list {
  margin-top: 40px;
}

.page-login__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  color: #000000;
  font-weight: bold;
  cursor: pointer;
  background-color: #fefefe;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

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

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

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

  .page-login__hero-description {
    font-size: 1.1em;
  }

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

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 80px);
  }

  .page-login__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

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

  .page-login__hero-description {
    font-size: 1em;
  }

  .page-login__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

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

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

  .page-login__login-card {
    flex-direction: column;
  }

  .page-login__login-image-wrapper {
    min-width: unset;
  }

  .page-login__form {
    padding: 30px 20px;
  }

  .page-login__process-list,
  .page-login__security-grid {
    grid-template-columns: 1fr;
  }

  .page-login__button--login-bottom {
    font-size: 1.1em;
    padding: 15px 25px;
  }

  /* Ensure content images are responsive and don't overflow */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
  .page-login__login-image,
  .page-login__security-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-login__faq-answer {
    padding: 0 20px 15px 20px;
  }
}