/* Base Styles for Login Page */
.page-login {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

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

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

.page-login__section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-login__section-description {
  font-size: 18px;
  color: #1F2D3D;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px; /* Add padding for content below image */
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-login__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-login__subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Login Card */
.page-login__login-card {
  background: rgba(255, 255, 255, 0.95); /* Card BG with slight transparency */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  margin: 0 auto;
  text-align: left;
}

.page-login__card-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
}

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

.page-login__form-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1F2D3D; /* Text Main */
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  color: #1F2D3D;
  background-color: #ffffff;
}

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

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

.page-login__checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #1F2D3D;
}

.page-login__checkbox {
  margin-right: 8px;
}

.page-login__forgot-password {
  color: #2F6BFF; /* Main color */
  text-decoration: none;
}

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

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  text-align: center;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word;
}

.page-login__btn-primary:hover {
  opacity: 0.9;
}

.page-login__register-text {
  text-align: center;
  margin-top: 25px;
  font-size: 16px;
  color: #1F2D3D;
}

.page-login__register-link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

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

/* Benefits Section */
.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; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-login__benefit-heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-login__benefit-text {
  font-size: 16px;
  color: #1F2D3D;
}

/* Security Section */
.page-login__dark-section {
  background: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-login__dark-section .page-login__section-title,
.page-login__dark-section .page-login__section-description {
  color: #ffffff;
}

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

.page-login__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  max-width: 100%; /* Image responsive */
  display: block;
}

.page-login__security-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-login__security-item {
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-login__security-item::before {
  content: '✓';
  color: #A5C4FF; /* Glow */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-login__troubleshooting-step {
  background: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-login__step-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-login__step-text {
  font-size: 16px;
  color: #1F2D3D;
}

.page-login__contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
  gap: 20px;
}

.page-login__contact-image {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  max-width: 100%; /* Image responsive */
  display: block;
}

.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #ffffff; /* White background */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color border */
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word;
}

.page-login__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
}

/* FAQ Section */
.page-login__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

details.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #ffffff; /* 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: #f5f5f5;
}

.page-login__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-login__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
}

.page-login__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

/* Register Promo Section */
.page-login__register-promo {
  background-color: #F4F7FB; /* Background */
  padding: 80px 0;
}

.page-login__register-promo-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
}

.page-login__register-promo-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  max-width: 100%; /* Image responsive */
  display: block;
}

.page-login__register-promo-text {
  flex: 1;
  text-align: left;
}

.page-login__register-promo-text .page-login__section-title {
  text-align: left;
  font-size: 30px;
}

.page-login__register-promo-text .page-login__section-description {
  text-align: left;
  margin-left: 0;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .page-login__main-title {
    font-size: 42px;
  }
  .page-login__subtitle {
    font-size: 18px;
  }
  .page-login__security-content,
  .page-login__register-promo-content {
    flex-direction: column;
    text-align: center;
  }
  .page-login__security-image,
  .page-login__register-promo-image {
    max-width: 80%;
  }
  .page-login__security-list,
  .page-login__register-promo-text {
    text-align: center;
  }
  .page-login__security-item {
    padding-left: 0;
  }
  .page-login__security-item::before {
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
  }
  .page-login__register-promo-text .page-login__section-title,
  .page-login__register-promo-text .page-login__section-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-login__section {
    padding: 40px 0;
  }
  .page-login__section-title {
    font-size: 28px;
  }
  .page-login__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-login__hero-section {
    min-height: 500px;
  }
  .page-login__main-title {
    font-size: 36px;
  }
  .page-login__subtitle {
    font-size: 16px;
  }
  .page-login__login-card {
    padding: 30px 20px;
  }
  .page-login__card-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary {
    max-width: 100% !important;
    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__benefits-grid,
  .page-login__troubleshooting-grid {
    grid-template-columns: 1fr;
  }
  .page-login__security-image,
  .page-login__contact-image,
  .page-login__register-promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-login__security-content,
  .page-login__register-promo-content {
    padding: 0 15px;
  }
  .page-login__security-list,
  .page-login__troubleshooting-step,
  .page-login__benefit-item {
    padding: 20px;
  }
  details.page-login__faq-item summary.page-login__faq-question { padding: 15px; }
  .page-login__faq-qtext { font-size: 15px; }
  details.page-login__faq-item .page-login__faq-answer { padding: 0 15px 15px; }
  .page-login__register-promo-text .page-login__section-title {
    font-size: 26px;
  }
  .page-login__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
  }
}

/* Ensure images maintain original color */
.page-login img {
  filter: none; /* No CSS filter to change image color */
}

/* Specific filter for hero image for readability, allowed as it's not changing original color */
.page-login__hero-image {
  filter: brightness(0.6); 
}