/* style/login.css */
.page-login {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}

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

/* Hero Section */
.page-login__hero-section {
  background: linear-gradient(135deg, #26A9E0 0%, #4CAF50 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-login__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 800px;
}

.page-login__hero-title {
  font-size: 3em;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-login__hero-image-container {
  display: none;
}

.page-login__login-form-wrapper {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  width: 100%;
  text-align: left;
  color: #333333;
}

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

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
}

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

.page-login__remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-login__checkbox {
  width: 18px;
  height: 18px;
  accent-color: #26A9E0;
}

.page-login__checkbox-label {
  color: #555555;
}

.page-login__forgot-password-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__btn-primary {
  background: #EA7C07; /* Custom color for login button */
  color: #ffffff;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-login__btn-primary:hover {
  background-color: #d16e06;
  transform: translateY(-2px);
}

.page-login__register-text {
  text-align: center;
  margin-top: 25px;
  color: #555555;
}

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

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

/* General Section Styling */
.page-login__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-login__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
}

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

.page-login__benefit-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

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

.page-login__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-login__card-description {
  font-size: 0.95em;
  color: #555555;
}

/* Security Section */
.page-login__security-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-login__security-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__security-item-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

.page-login__security-cta {
  text-align: center;
}

.page-login__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  box-sizing: border-box;
}

.page-login__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Troubleshooting Section */
.page-login__troubleshooting-section {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
}

.page-login__troubleshooting-section .page-login__section-title,
.page-login__troubleshooting-section .page-login__section-intro {
  color: #ffffff;
}

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

.page-login__troubleshooting-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-login__troubleshooting-item-title {
  font-size: 1.4em;
  color: #EA7C07;
  margin-bottom: 15px;
}

.page-login__troubleshooting-item-description {
  font-size: 0.95em;
  color: #555555;
}

.page-login__support-cta {
  text-align: center;
}

/* Why Choose Us Section */
.page-login__why-choose-us-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-login__why-choose-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-login__why-choose-us-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-login__why-choose-us-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-login__why-choose-us-item-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-login__why-choose-us-item-description {
  font-size: 0.95em;
  color: #555555;
}

/* CTA Section */
.page-login__cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-login__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-login__cta-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

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

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

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

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

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

.page-login__faq-question-title {
  margin: 0;
  color: #26A9E0;
}

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

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

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

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-login__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Image and Video Responsive */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-login video,
.page-login__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-login__video-section,
.page-login__video-container,
.page-login__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 60px 0;
    min-height: auto;
  }

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

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

  .page-login__login-form-wrapper {
    padding: 30px;
    margin: 0 15px;
  }

  .page-login__form-title {
    font-size: 1.7em;
  }

  .page-login__form-options {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

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

  .page-login__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-login__benefits-section,
  .page-login__security-section,
  .page-login__troubleshooting-section,
  .page-login__why-choose-us-section,
  .page-login__cta-section,
  .page-login__faq-section {
    padding: 50px 0;
  }

  .page-login__benefits-grid,
  .page-login__security-grid,
  .page-login__troubleshooting-grid,
  .page-login__why-choose-us-grid {
    grid-template-columns: 1fr;
  }

  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    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__cta-buttons,
  .page-login__button-group,
  .page-login__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-login video,
  .page-login__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__video-section,
  .page-login__video-container,
  .page-login__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-login__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}