.page-login {
    color: #333333; /* Default text color for light background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Default body background is white */
}

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

/* Fixed header offset */
.page-login.page-content {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-login__section-title {
    font-size: 36px;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-login__section-description {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.page-login__cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-login__btn-primary {
    background: #EA7C07; /* Custom color for Login/Primary button */
    color: #ffffff;
    border: 2px solid transparent;
}

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

.page-login__btn-secondary {
    background: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid transparent;
}

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

.page-login__link-text {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__link-text:hover {
    color: #1e7fa8;
    text-decoration: underline;
}

/* --- Hero Section --- */
.page-login__hero-section {
    position: relative;
    background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Blend primary with white */
    padding: 80px 0;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-login__hero-container {
    max-width: 1000px; /* Slightly smaller for login module focus */
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.page-login__main-title {
    font-size: 48px;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.page-login__description {
    font-size: 20px;
    color: #555555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__login-module {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-login__login-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-login__login-form {
    width: 100%;
    max-width: 450px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.page-login__form-title {
    font-size: 28px;
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
}

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

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

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

.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: 15px;
}

.page-login__form-checkbox input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #26A9E0;
}

.page-login__forgot-password {
    font-size: 15px;
}

.page-login__form-submit {
    width: 100%;
    margin-top: 15px;
}

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

/* --- Info Section --- */
.page-login__info-section {
    background-color: #26A9E0; /* Dark background */
    color: #ffffff; /* Light text */
    padding: 60px 0;
}

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

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

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

.page-login__feature-item {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-login__feature-item .page-login__card-title {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-login__feature-item .page-login__card-text {
    font-size: 16px;
    color: #e0e0e0;
}

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

.page-login__security-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-login__security-content {
    flex: 1;
}

.page-login__security-image {
    flex: 0 0 400px; /* Fixed width for image */
}

.page-login__security-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

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

.page-login__security-item {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.page-login__security-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    color: #26A9E0;
}

.page-login__security-item .page-login__card-title {
    font-size: 20px;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 600;
}

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

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

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

.page-login__troubleshooting-section .page-login__section-description {
    color: #e0e0e0;
}

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

.page-login__troubleshooting-grid .page-login__card {
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__troubleshooting-grid .page-login__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-login__troubleshooting-grid .page-login__card .page-login__card-title {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-login__troubleshooting-grid .page-login__card .page-login__card-text {
    font-size: 16px;
    color: #e0e0e0;
}

/* --- Registration Section --- */
.page-login__registration-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text */
    text-align: center;
}

.page-login__registration-content {
    max-width: 900px;
}

.page-login__registration-benefits {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

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

.page-login__benefit-item .page-login__card-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
}

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

.page-login__registration-section .page-login__cta-button {
    margin-top: 40px;
}

/* --- Mobile Access Section --- */
.page-login__mobile-access-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Primary color background */
    color: #ffffff; /* Light text */
}

.page-login__mobile-access-section .page-login__section-title {
    color: #ffffff;
}

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

.page-login__mobile-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-login__mobile-content {
    flex: 1;
}

.page-login__mobile-image {
    flex: 0 0 400px;
}

.page-login__mobile-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.page-login__mobile-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-login__mobile-features .page-login__feature-item {
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #ffffff;
}

.page-login__mobile-features .page-login__feature-item::before {
    content: '📱'; /* Phone icon */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    color: #ffffff;
}

.page-login__mobile-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

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

.page-login__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ容器样式 */
.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.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;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ展开状态 - 🚨 Sử dụng!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-login__faq-item.active .page-login__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Vấn đề phong cách */
.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  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:active {
  background: #eeeeee;
}