/* style/login.css */

/* Base Styles */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f5f5f5;
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__section-title--light {
  color: #FFD700; /* Primary color for titles on dark backgrounds */
}

.page-login__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__section-description--light {
  color: #f0f0f0;
}

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-login__btn-primary {
  background: #FFD700;
  color: #8B0000; /* Ensure contrast on primary button */
  border: 2px solid #FFD700;
}

.page-login__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
}

.page-login__btn-secondary {
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-login__btn-secondary:hover {
  background: #FFD700;
  color: #8B0000;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

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

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

.page-login__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-login__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Primary color for main title */
  font-weight: bold;
  line-height: 1.2;
}

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

.page-login__login-form-wrapper {
  background: rgba(0, 0, 0, 0.8);
  padding: 40px;
  border-radius: 12px;
  max-width: 450px;
  margin: 0 auto;
  border: 1px solid #FFD700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.page-login__form-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 30px;
  font-weight: bold;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #8B0000;
  border-radius: 6px;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__form-input:focus {
  border-color: #FFD700;
  outline: none;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

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

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

.page-login__checkbox {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  accent-color: #FFD700; /* Style checkbox with primary color */
}

.page-login__forgot-password {
  color: #FFD700;
  text-decoration: none;
}

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

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

.page-login__register-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

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

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  background-color: #f5f5f5;
  color: #333333;
}

.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: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-login__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  /* filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); */ /* Removed filter to comply with no-filter rule */
}

.page-login__benefit-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__benefit-text {
  font-size: 1em;
  color: #555555;
}

/* Security Section */
.page-login__security-section {
  padding: 80px 0;
  background-color: #8B0000; /* Auxiliary color for dark background */
  color: #ffffff;
}

.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: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #FFD700;
}

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

.page-login__security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  /* filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); */ /* Removed filter to comply with no-filter rule */
}

.page-login__security-title--light {
  color: #FFD700;
}

.page-login__security-text--light {
  color: #f0f0f0;
}

/* Guide Section */
.page-login__guide-section {
  padding: 80px 0;
  background-color: #f5f5f5;
  color: #333333;
}

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

.page-login__guide-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-login__guide-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  /* filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); */ /* Removed filter to comply with no-filter rule */
}

.page-login__guide-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__guide-text {
  font-size: 1em;
  color: #555555;
}

/* Promotions Section */
.page-login__promotions-section {
  padding: 80px 0;
  background-color: #8B0000;
  color: #ffffff;
}

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

.page-login__promo-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #FFD700;
}

.page-login__promo-card:hover {
  transform: translateY(-5px);
}

.page-login__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-login__promo-title--light {
  color: #FFD700;
  font-size: 1.4em;
  padding: 15px;
  font-weight: bold;
}

.page-login__promo-text--light {
  color: #f0f0f0;
  padding: 0 15px 20px;
  font-size: 0.95em;
}

.page-login__cta-promotions {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-login__faq-section {
  padding: 80px 0;
  background-color: #f5f5f5;
  color: #333333;
}

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

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-title {
  font-size: 1.2em;
  color: #8B0000;
  margin: 0;
  font-weight: bold;
}

.page-login__faq-toggle {
  font-size: 1.8em;
  color: #FFD700;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

/* Register CTA Section */
.page-login__register-cta-section {
  padding: 80px 0;
  background-color: #8B0000;
  color: #ffffff;
  text-align: center;
}

.page-login__register-cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-login__register-cta-image {
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700;
}

.page-login__register-cta-text-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-login__register-cta-text-content .page-login__section-title {
  text-align: left;
  margin-bottom: 20px;
}

.page-login__register-cta-text-content .page-login__section-description {
  text-align: left;
  margin-bottom: 30px;
}

.page-login__register-cta-text-content .page-login__btn-primary {
  width: auto;
}