.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: var(--black-color); /* Sử dụng biến từ shared.css */
}

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

.page-login__hero-section {
  position: relative;
  padding: 80px 0 40px;
  text-align: center;
  color: #ffffff;
  background-color: #26A9E0;
  padding-top: var(--header-offset, 120px); /* Đảm bảo không bị header che */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-login__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-login__description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-login__login-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: left;
  color: #333333;
}

.page-login__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 25px;
  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: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__checkbox-container {
  display: block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #555555;
}

.page-login__checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.page-login__checkbox-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #eee;
  border-radius: 3px;
}

.page-login__checkbox-container input:checked ~ .page-login__checkbox-checkmark {
  background-color: #26A9E0;
}

.page-login__checkbox-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.page-login__checkbox-container input:checked ~ .page-login__checkbox-checkmark:after {
  display: block;
}

.page-login__checkbox-container .page-login__checkbox-checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

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

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

.page-login__btn-primary {
  background-color: #EA7C07; /* Màu cam cho nút Đăng nhập */
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

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

.page-login__register-text {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95em;
}

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

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

.page-login__hero-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

.page-login__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-login__why-login-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-login__feature-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

.page-login__feature-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-login__content-image {
  display: block;
  margin: 50px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-login__guide-section {
  padding: 80px 0;
  background-color: #f0f8ff;
  color: #333333;
}

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

.page-login__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  padding-top: 70px;
}

.page-login__step-number {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid #f0f8ff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.page-login__step-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-login__forgot-password-block {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 700px;
  margin: 60px auto 0;
}

.page-login__block-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-login__forgot-password-block p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 30px;
}

.page-login__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
}

.page-login__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-login__security-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-login__security-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-login__security-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: left;
}

.page-login__item-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-login__security-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.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 {
  background: #f9f9f9;
  border-radius: 8px;
  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 25px;
  background-color: #ffffff;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

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

.page-login__faq-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin: 0;
}

.page-login__faq-toggle {
  font-size: 1.8em;
  color: #26A9E0;
  font-weight: bold;
  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;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Đủ lớn để chứa nội dung, dùng !important */
  padding: 20px 25px;
}

.page-login__faq-answer p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

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

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

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

.page-login__register-button {
  background-color: #EA7C07;
  color: #ffffff;
}

.page-login__register-button:hover {
  background-color: #d16e06;
}

.page-login__promotions-button {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #ffffff;
}

.page-login__promotions-button:hover {
  background-color: #f0f0f0;
  color: #26A9E0;
}

.page-login__download-section {
  padding: 80px 0;
  background-color: #f0f8ff;
  color: #333333;
  text-align: center;
}

.page-login__download-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-login__download-button {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-login__download-button:hover {
  background-color: #1e87b7;
}

.page-login__download-guide-button {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-login__download-guide-button:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.2em;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__description,
  .page-login__section-intro {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__main-title {
    font-size: 1.8em;
    line-height: 1.3;
  }
  .page-login__description {
    font-size: 0.95em;
  }
  .page-login__login-card {
    margin-bottom: 30px;
    padding: 25px;
  }
  .page-login__card-title {
    font-size: 1.5em;
  }
  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-login__section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  .page-login__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-login__features-grid,
  .page-login__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-login__feature-item,
  .page-login__step-item {
    padding: 25px;
  }
  .page-login__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
  }
  .page-login__block-title {
    font-size: 1.6em;
  }
  .page-login__forgot-password-block p {
    font-size: 1em;
  }
  .page-login__cta-buttons,
  .page-login__download-buttons {
    flex-direction: column;
    gap: 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__hero-image,
  .page-login__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__hero-section .page-login__container,
  .page-login__why-login-section .page-login__container,
  .page-login__guide-section .page-login__container,
  .page-login__security-section .page-login__container,
  .page-login__faq-section .page-login__container,
  .page-login__cta-section .page-login__container,
  .page-login__download-section .page-login__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.5em;
  }
  .page-login__card-title {
    font-size: 1.3em;
  }
  .page-login__section-title {
    font-size: 1.3em;
  }
  .page-login__feature-title,
  .page-login__step-title,
  .page-login__block-title {
    font-size: 1.2em;
  }
  .page-login__faq-title {
    font-size: 1em;
  }
}