.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f8f8f8;
}

.page-login__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 60px 20px;
  box-sizing: border-box;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-login__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Giảm độ sáng để chữ dễ đọc */
}

.page-login__login-form-wrapper {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-login__main-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

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

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

.page-login__label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-login__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FFD700;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
}

.page-login__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

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

.page-login__checkbox-container {
  display: block;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  user-select: none;
  color: #f0f0f0;
}

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

.page-login__checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.page-login__checkbox-container input:checked ~ .page-login__checkmark {
  background-color: #FFD700;
}

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

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

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

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

.page-login__forgot-password:hover {
  color: #ffffff;
}

.page-login__submit-button {
  width: 100%;
  padding: 15px 20px;
  background-color: #FFD700;
  color: #000080;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-login__submit-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-login__register-text {
  margin-top: 25px;
  font-size: 15px;
  color: #f0f0f0;
}

.page-login__register-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #ffffff;
}

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

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

.page-login__section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-login__section-title {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000080;
}

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

.page-login__benefits-section .page-login__section-description {
  margin-bottom: 60px;
}

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

.page-login__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.page-login__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-login__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000080;
}

.page-login__card-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

.page-login__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

.page-login__security-section {
  background-color: #000080;
  color: #ffffff;
}

.page-login__security-section .page-login__section-title {
  color: #FFD700;
}

.page-login__security-section .page-login__section-description {
  color: #f0f0f0;
}

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

.page-login__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFD700;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__security-item-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-login__security-item-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-login__security-footer-text {
  font-size: 16px;
  margin-top: 40px;
  color: #f0f0f0;
}

.page-login__troubleshooting-section {
  background-color: #f8f8f8;
}

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

.page-login__troubleshooting-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  border-top: 4px solid #FFD700;
}

.page-login__troubleshooting-item-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000080;
}

.page-login__troubleshooting-item-text {
  font-size: 16px;
  color: #555555;
}

.page-login__troubleshooting-contact-text {
  margin-top: 40px;
  font-size: 16px;
  color: #555555;
}

.page-login__contact-link {
  color: #000080;
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__cta-register-section {
  background-image: linear-gradient(to right, #000080, #0000a0);
  color: #ffffff;
  padding: 100px 0;
}

.page-login__cta-register-section .page-login__section-title {
  color: #FFD700;
  font-size: 38px;
}

.page-login__cta-register-section .page-login__section-description {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-login__register-cta-button {
  display: inline-block;
  padding: 18px 45px;
  background-color: #FFD700;
  color: #000080;
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
  border: none;
  cursor: pointer;
}

.page-login__register-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-login__support-section {
  background-color: #ffffff;
}

.page-login__support-content {
  max-width: 1000px;
}

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

.page-login__support-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-login__support-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__support-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000080;
}

.page-login__support-card-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-login__support-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000080;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-login__support-button:hover {
  background-color: #000060;
  transform: translateY(-2px);
}

/* ---------------------------------- */
/* Responsive Design */
/* ---------------------------------- */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 32px;
  }

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

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

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

  .page-login__card-title, .page-login__security-item-title, .page-login__troubleshooting-item-title, .page-login__support-card-title {
    font-size: 20px;
  }

  .page-login__card-text, .page-login__security-item-text, .page-login__troubleshooting-item-text, .page-login__support-card-text {
    font-size: 15px;
  }

  .page-login__cta-register-section .page-login__section-title {
    font-size: 32px;
  }

  .page-login__register-cta-button {
    font-size: 18px;
    padding: 15px 35px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 40px 15px;
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-login__login-form-wrapper {
    padding: 30px 20px;
    max-width: 100%;
    margin: 0 15px;
  }

  .page-login__main-title {
    font-size: 28px;
  }

  .page-login__description {
    font-size: 15px;
  }

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

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

  .page-login__section-description {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-login__grid-container, .page-login__troubleshooting-grid, .page-login__support-options {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-login__card, .page-login__security-item, .page-login__troubleshooting-item, .page-login__support-card {
    padding: 25px;
  }

  .page-login__card-title, .page-login__security-item-title, .page-login__troubleshooting-item-title, .page-login__support-card-title {
    font-size: 18px;
  }

  .page-login__card-text, .page-login__security-item-text, .page-login__troubleshooting-item-text, .page-login__support-card-text {
    font-size: 14px;
  }

  .page-login__cta-register-section {
    padding: 80px 15px;
  }

  .page-login__cta-register-section .page-login__section-title {
    font-size: 28px;
  }

  .page-login__register-cta-button {
    font-size: 16px;
    padding: 14px 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-login__submit-button {
    font-size: 16px;
    padding: 14px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-login__hero-image, .page-login__card-image, .page-login__support-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-login__container, .page-login__cta-register-content, .page-login__support-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-login__support-options {
    flex-wrap: wrap !important;
    gap: 15px;
  }

  .page-login__support-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}