.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #f4f4f4 */
  background-color: #f4f4f4;
}

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

.page-login__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
}

.page-login__section-title--light {
  color: #ffffff;
}

.page-login__description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

.page-login__description--light {
  color: #f0f0f0;
}

.page-login__cta-button,
.page-login__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: #FF4500; /* Primary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-login__cta-button:hover,
.page-login__btn-primary:hover {
  background: #E03C00;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: #ffffff;
  color: #FF4500; /* Primary color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #FF4500;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-login__btn-secondary:hover {
  background: #FF4500;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-login__btn-secondary--light {
  background: #1E90FF; /* Secondary color */
  color: #ffffff;
  border: 2px solid #1E90FF;
}

.page-login__btn-secondary--light:hover {
  background: #197ED0;
  color: #ffffff;
  border-color: #197ED0;
}

.page-login__text-link {
  color: #1E90FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__text-link:hover {
  text-decoration: underline;
  color: #0F6BBF;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #f4f4f4; /* Light background for hero */
}

.page-login__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-login__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #FF4500; /* Primary color for main title */
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #555555;
  max-width: 900px;
}

.page-login__hero-image {
  width: 100%;
  max-width: 800px;
  margin-top: 30px;
}

.page-login__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Login Form Section */
.page-login__form-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-login__login-card {
  background: #fdfdfd;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
}

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

.page-login__form-group {
  display: flex;
  flex-direction: column;
}

.page-login__form-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333333;
}

.page-login__form-input {
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 16px;
  color: #333333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login__form-input:focus {
  border-color: #1E90FF; /* Secondary color */
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
  outline: none;
}

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

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

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

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

.page-login__forgot-password {
  color: #1E90FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  text-decoration: underline;
  color: #0F6BBF;
}

.page-login__submit-button {
  width: 100%;
  margin-top: 20px;
  padding: 15px;
  font-size: 18px;
}

.page-login__social-login {
  margin-top: 30px;
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.page-login__social-text {
  color: #777777;
  margin-bottom: 20px;
  font-size: 15px;
}

.page-login__social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.page-login__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  min-width: 120px;
  box-sizing: border-box;
}

.page-login__social-btn--facebook {
  background-color: #3b5998;
}

.page-login__social-btn--facebook:hover {
  background-color: #2d4373;
}

.page-login__social-btn--google {
  background-color: #dd4b39;
}

.page-login__social-btn--google:hover {
  background-color: #c23321;
}

/* Register Prompt Section */
.page-login__register-prompt {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, #FF4500, #E03C00); /* Primary color gradient */
  color: #ffffff;
}

.page-login__register-prompt .page-login__description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Security Info Section */
.page-login__security-info {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-login__security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-login__security-content {
  text-align: left;
}

.page-login__security-content .page-login__section-title {
  text-align: left;
}

.page-login__security-content .page-login__description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  color: #555555;
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-login__security-item {
  font-size: 17px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  color: #444444;
}

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

.page-login__security-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* App Download Section */
.page-login__app-download {
  padding: 80px 0;
  background: linear-gradient(135deg, #1E90FF, #0F6BBF); /* Secondary color gradient */
  color: #ffffff;
}

.page-login__app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-login__app-image {
  order: 2;
}

.page-login__app-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-login__app-content {
  order: 1;
  text-align: left;
}

.page-login__app-content .page-login__section-title {
  text-align: left;
  color: #ffffff;
}

.page-login__app-content .page-login__description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  color: #f0f0f0;
}

.page-login__app-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

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

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

.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #fdfdfd;
  color: #555555;
  font-size: 16px;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
}

.page-login__faq-answer p {
  margin: 0;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-login__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-login__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FF4500; /* Primary color */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-login__faq-item.active .page-login__faq-toggle {
  color: #1E90FF; /* Secondary color */
  transform: rotate(45deg);
}

/* Resources Section */
.page-login__resources-section {
  padding: 80px 0;
  background: #1E90FF; /* Secondary color */
  color: #ffffff;
}

.page-login__resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-login__resource-card {
  background: #fdfdfd;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.page-login__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-login__resource-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FF4500; /* Primary color */
}

.page-login__resource-description {
  font-size: 15px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 42px;
  }
  .page-login__hero-description {
    font-size: 18px;
  }
  .page-login__security-grid,
  .page-login__app-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-login__hero-container {
    gap: 30px;
  }

  .page-login__hero-title {
    font-size: 36px;
  }

  .page-login__hero-description {
    font-size: 16px;
  }

  .page-login__cta-button,
  .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__app-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__login-card {
    padding: 30px 20px;
  }

  .page-login__social-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-login__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-login__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-login__security-grid,
  .page-login__app-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-login__security-content,
  .page-login__app-content {
    text-align: center;
  }

  .page-login__security-content .page-login__section-title,
  .page-login__app-content .page-login__section-title {
    text-align: center;
  }

  .page-login__security-content .page-login__description,
  .page-login__app-content .page-login__description {
    text-align: center;
  }

  .page-login__security-list {
    text-align: center;
    padding-left: 0;
  }

  .page-login__security-item {
    padding-left: 0;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
  }

  .page-login__security-item::before {
    position: static;
    margin-right: 8px;
  }

  .page-login__app-image {
    order: 1;
  }

  .page-login__app-content {
    order: 2;
  }

  .page-login__app-buttons {
    justify-content: center;
  }

  .page-login__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-login__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-login__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-login__faq-answer {
    padding: 0 15px;
  }
  
  .page-login__faq-item.active .page-login__faq-answer {
    padding: 15px !important;
  }

  .page-login__resource-card {
    min-height: auto;
  }

  .page-login__resource-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .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;
  }
  
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 32px;
  }

  .page-login__hero-description {
    font-size: 15px;
  }

  .page-login__cta-button,
  .page-login__btn-primary,
  .page-login__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }

  .page-login__section-title {
    font-size: 24px;
  }

  .page-login__login-card {
    padding: 25px 15px;
  }

  .page-login__form-input {
    font-size: 15px;
  }

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

  .page-login__social-btn {
    font-size: 15px;
    padding: 10px 20px;
  }

  .page-login__app-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-login__app-buttons a {
    width: 100%;
  }

  .page-login__faq-question h3 {
    font-size: 15px;
  }

  .page-login__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }

  .page-login__faq-answer {
    font-size: 15px;
  }

  .page-login__resource-title {
    font-size: 18px;
  }

  .page-login__resource-description {
    font-size: 14px;
  }
}