/* Base styles for the login page */
.page-login {
  font-family: 'Arial', sans-serif;
  color: var(--Text-Main); /* Using Text Main for general text on dark body */
  background-color: var(--Deep-Navy); /* Body background is from shared.css */
  line-height: 1.6;
}

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

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

.page-login__section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--Gold); /* Gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__section-description {
  font-size: 18px;
  color: var(--Text-Secondary); /* Secondary text color */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-login__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body padding-top handled by shared.css */
  padding-bottom: 60px;
  background-color: var(--Deep-Navy);
}

.page-login__hero-image-container {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-login__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.page-login__main-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--Gold); /* Gold for H1 */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-login__description {
  font-size: 20px;
  color: var(--Text-Secondary);
  margin-bottom: 40px;
}

.page-login__login-form-wrapper {
  background: var(--Card-BG); /* Dark card background */
  border: 1px solid var(--Border); /* Border color */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  margin: 0 auto;
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-login__form-group {
  text-align: left;
}

.page-login__form-label {
  display: block;
  font-size: 16px;
  color: var(--Text-Secondary);
  margin-bottom: 8px;
  font-weight: 600;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--Border);
  border-radius: 8px;
  background-color: #08162B; /* Deep Navy for input background */
  color: var(--Text-Main);
  font-size: 16px;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: rgba(243, 248, 255, 0.5);
}

.page-login__form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.page-login__btn-submit {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff;
  padding: 14px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-login__link-forgot-password {
  color: var(--Text-Secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__link-forgot-password:hover {
  color: var(--Glow);
}

.page-login__register-prompt {
  margin-top: 30px;
  font-size: 16px;
  color: var(--Text-Secondary);
}

.page-login__register-prompt p {
  margin-bottom: 15px;
}

.page-login__btn-register {
  background: var(--Glow); /* Glow for register button */
  color: #08162B; /* Deep Navy for text on Glow */
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-register:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Why Login Section */
.page-login__why-login {
  background-color: var(--Deep-Navy);
}

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

.page-login__feature-card {
  background: var(--Card-BG);
  border: 1px solid var(--Border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-login__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-login__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--Text-Main);
  margin-bottom: 15px;
}

.page-login__feature-text {
  font-size: 16px;
  color: var(--Text-Secondary);
}

/* How to Login Section */
.page-login__how-to-login {
  background-color: var(--Deep-Navy);
}

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

.page-login__step-card {
  background: var(--Card-BG);
  border: 1px solid var(--Border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-login__step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--Text-Main);
  margin-bottom: 10px;
}

.page-login__step-text {
  font-size: 16px;
  color: var(--Text-Secondary);
}

.page-login__troubleshooting {
  margin-top: 60px;
  background: var(--Card-BG);
  border: 1px solid var(--Border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__troubleshooting-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--Gold);
  margin-bottom: 20px;
  text-align: center;
}

.page-login__troubleshooting-text {
  font-size: 16px;
  color: var(--Text-Secondary);
  margin-bottom: 20px;
  text-align: center;
}

.page-login__troubleshooting-list {
  list-style-type: disc;
  padding-left: 30px;
  color: var(--Text-Secondary);
  font-size: 16px;
}

.page-login__troubleshooting-list li {
  margin-bottom: 10px;
}

.page-login__troubleshooting-list strong {
  color: var(--Text-Main);
}

/* Security Section */
.page-login__security {
  background-color: var(--Deep-Navy);
}

.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: var(--Card-BG);
  border: 1px solid var(--Border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__security-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-login__security-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--Text-Main);
  margin-bottom: 15px;
}

.page-login__security-text {
  font-size: 16px;
  color: var(--Text-Secondary);
}

/* Explore Offerings Section */
.page-login__explore-offerings {
  background-color: var(--Deep-Navy);
}

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

.page-login__offering-card {
  background: var(--Card-BG);
  border: 1px solid var(--Border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-login__offering-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-login__offering-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--Text-Main);
  margin: 20px 15px 10px;
}

.page-login__offering-text {
  font-size: 16px;
  color: var(--Text-Secondary);
  padding: 0 15px 20px;
}

.page-login__btn-view-more {
  display: inline-block;
  background: var(--Glow);
  color: var(--Deep-Navy);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-view-more:hover {
  opacity: 0.9;
}

/* FAQ Section */
.page-login__faq-section {
  background-color: var(--Deep-Navy);
}

.page-login__faq-list {
  margin-top: 40px;
}

details.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--Border);
  overflow: hidden;
  background: var(--Card-BG);
}

details.page-login__faq-item summary.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-login__faq-item summary.page-login__faq-question:hover {
  background: rgba(var(--Deep-Navy), 0.5); /* Slightly lighter hover */
}

.page-login__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--Text-Main);
}

.page-login__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--Glow);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-login__faq-item .page-login__faq-answer {
  padding: 0 20px 20px;
  background: #10233F; /* Slightly different background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--Text-Secondary);
  font-size: 16px;
}

/* CTA Bottom Section */
.page-login__cta-bottom {
  padding: 80px 0;
  background-color: var(--Deep-Navy);
}

.page-login__cta-bottom .page-login__container {
  background: var(--Card-BG);
  border: 1px solid var(--Border);
  border-radius: 15px;
  padding: 60px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-login__cta-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--Gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__cta-description {
  font-size: 20px;
  color: var(--Text-Secondary);
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-login__cta-buttons-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-login__btn-primary,
.page-login__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-login__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-login__btn-secondary {
  background: transparent;
  color: var(--Glow);
  border: 2px solid var(--Glow);
}

.page-login__btn-secondary:hover {
  background: var(--Glow);
  color: var(--Deep-Navy);
  transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 42px;
  }
  .page-login__description {
    font-size: 18px;
  }
  .page-login__login-form-wrapper {
    padding: 30px;
  }
  .page-login__btn-submit {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-login__feature-title, .page-login__step-title, .page-login__security-title, .page-login__offering-title {
    font-size: 20px;
  }
  .page-login__section-title, .page-login__cta-title {
    font-size: 32px;
  }
  .page-login__section-description, .page-login__cta-description {
    font-size: 16px;
  }
  .page-login__cta-bottom .page-login__container {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .page-login__container {
    padding: 0 15px;
  }
  .page-login__section {
    padding: 40px 0;
  }
  .page-login__hero-section {
    padding-bottom: 40px;
    padding-top: 10px; /* Still small top padding */
  }
  .page-login__hero-image-container {
    max-height: 450px;
  }
  .page-login__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Banner 849px contain */
  }
  .page-login__hero-content {
    padding: 0 15px;
  }
  .page-login__main-title {
    font-size: 32px;
  }
  .page-login__description {
    font-size: 16px;
  }
  .page-login__login-form-wrapper {
    padding: 25px;
  }
  .page-login__form-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__btn-submit {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__link-forgot-password {
    width: 100%;
    text-align: center;
  }
  .page-login__btn-register {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__section-title, .page-login__cta-title {
    font-size: 28px;
  }
  .page-login__section-description, .page-login__cta-description {
    font-size: 15px;
  }
  .page-login__features-grid,
  .page-login__steps-grid,
  .page-login__security-grid,
  .page-login__offerings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-login__feature-card,
  .page-login__step-card,
  .page-login__security-item,
  .page-login__offering-card {
    padding: 25px;
  }
  .page-login__offering-image {
    height: 180px;
  }
  .page-login__troubleshooting {
    padding: 25px;
  }
  .page-login__troubleshooting-title {
    font-size: 24px;
  }
  details.page-login__faq-item summary.page-login__faq-question {
    padding: 15px;
  }
  .page-login__faq-qtext {
    font-size: 16px;
  }
  .page-login__faq-toggle {
    font-size: 20px;
  }
  details.page-login__faq-item .page-login__faq-answer {
    padding: 0 15px 15px;
  }
  .page-login__cta-bottom .page-login__container {
    padding: 30px;
  }
  .page-login__cta-buttons-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .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;
  }
}