/* style/faq-account.css */

/* Biến CSS cho màu sắc */
:root {
    --page-faq-account-primary-color: #0A2342;
    --page-faq-account-secondary-color: #E0B400;
    --page-faq-account-text-light: #FFFFFF;
    --page-faq-account-text-dark: #333333;
    --page-faq-account-background-light: #F8F9FA;
    --page-faq-account-background-dark: #1A3E62; /* Màu xanh đậm hơn một chút cho các phần tử */
    --page-faq-account-border-color: #DDDDDD;
}

.page-faq-account {
    font-family: 'Arial', sans-serif;
    color: var(--page-faq-account-text-dark);
    line-height: 1.6;
    background-color: var(--page-faq-account-background-light);
}

.page-faq-account__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-faq-account__hero {
    background: linear-gradient(135deg, var(--page-faq-account-primary-color) 0%, var(--page-faq-account-background-dark) 100%);
    color: var(--page-faq-account-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq-account__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--page-faq-account-secondary-color);
    font-weight: bold;
}

.page-faq-account__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-faq-account-text-light);
}

.page-faq-account__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-faq-account__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.page-faq-account__btn--primary {
    background-color: var(--page-faq-account-secondary-color);
    color: var(--page-faq-account-primary-color);
    border: 2px solid var(--page-faq-account-secondary-color);
}

.page-faq-account__btn--primary:hover {
    background-color: darken(var(--page-faq-account-secondary-color), 10%); /* Assuming a darken function or manually adjust */
    border-color: darken(var(--page-faq-account-secondary-color), 10%);
    transform: translateY(-2px);
}

.page-faq-account__btn--secondary {
    background-color: transparent;
    color: var(--page-faq-account-secondary-color);
    border: 2px solid var(--page-faq-account-secondary-color);
}

.page-faq-account__btn--secondary:hover {
    background-color: var(--page-faq-account-secondary-color);
    color: var(--page-faq-account-primary-color);
    transform: translateY(-2px);
}

/* Content Section */
.page-faq-account__content-section {
    padding: 60px 0;
    background-color: var(--page-faq-account-background-light);
}

.page-faq-account__section-title {
    font-size: 2em;
    color: var(--page-faq-account-primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-faq-account__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-faq-account-secondary-color);
    border-radius: 2px;
}

.page-faq-account__text {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--page-faq-account-text-dark);
    text-align: justify;
}

.page-faq-account__image-wrapper {
    margin: 40px auto;
    text-align: center;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-faq-account__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.page-faq-account__image-caption {
    font-size: 0.9em;
    color: #666;
    margin-top: 15px;
    padding: 0 15px;
}

/* FAQ Items */
.page-faq-account__faq-item {
    background-color: #FFFFFF;
    border: 1px solid var(--page-faq-account-border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq-account__faq-question {
    font-size: 1.4em;
    color: var(--page-faq-account-primary-color);
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-faq-account__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--page-faq-account-secondary-color);
    font-weight: bold;
}

.page-faq-account__faq-question.active::after {
    content: '-';
}

.page-faq-account__faq-answer {
    font-size: 1.0em;
    color: var(--page-faq-account-text-dark);
    display: none; /* Hidden by default, toggled by JS */
    padding-top: 10px;
    border-top: 1px solid var(--page-faq-account-border-color);
    margin-top: 15px;
}

.page-faq-account__faq-answer p {
    margin-bottom: 15px;
}

.page-faq-account__faq-answer ul,
.page-faq-account__faq-answer ol {
    margin-left: 25px;
    margin-bottom: 15px;
    list-style-type: disc;
}

.page-faq-account__faq-answer ol {
    list-style-type: decimal;
}

.page-faq-account__faq-answer li {
    margin-bottom: 8px;
}

.page-faq-account__link {
    color: var(--page-faq-account-secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq-account__link:hover {
    color: darken(var(--page-faq-account-secondary-color), 15%); /* Assuming a darken function or manually adjust */
    text-decoration: underline;
}

/* Contact Options */
.page-faq-account__contact-options {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--page-faq-account-background-dark);
    border-radius: 10px;
    color: var(--page-faq-account-text-light);
}

.page-faq-account__contact-options .page-faq-account__text {
    color: var(--page-faq-account-text-light);
    margin-bottom: 25px;
}

.page-faq-account__btn--contact {
    background-color: var(--page-faq-account-secondary-color);
    color: var(--page-faq-account-primary-color);
    border: 2px solid var(--page-faq-account-secondary-color);
    margin-bottom: 20px;
}

.page-faq-account__btn--contact:hover {
    background-color: darken(var(--page-faq-account-secondary-color), 10%);
    border-color: darken(var(--page-faq-account-secondary-color), 10%);
}

.page-faq-account__btn--download {
    background-color: var(--page-faq-account-primary-color);
    color: var(--page-faq-account-secondary-color);
    border: 2px solid var(--page-faq-account-secondary-color);
}

.page-faq-account__btn--download:hover {
    background-color: var(--page-faq-account-background-dark);
    color: var(--page-faq-account-secondary-color);
    border-color: var(--page-faq-account-secondary-color);
}

/* Promotion Banner */
.page-faq-account__promotion-banner {
    margin-top: 60px;
    text-align: center;
    background-color: var(--page-faq-account-background-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-faq-account__promotion-banner .page-faq-account__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-faq-account__promotion-banner .page-faq-account__text {
    color: var(--page-faq-account-text-light);
    font-size: 1.1em;
}

.page-faq-account__promotion-banner .page-faq-account__link {
    color: var(--page-faq-account-secondary-color);
    text-decoration: underline;
}

.page-faq-account__promotion-banner .page-faq-account__link:hover {
    color: lighten(var(--page-faq-account-secondary-color), 10%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-faq-account__hero-title {
        font-size: 2.2em;
    }

    .page-faq-account__hero-subtitle {
        font-size: 1.1em;
    }

    .page-faq-account__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-faq-account__btn {
        width: 80%;
        max-width: 300px;
    }

    .page-faq-account__section-title {
        font-size: 1.8em;
    }

    .page-faq-account__faq-question {
        font-size: 1.2em;
    }

    .page-faq-account__content-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-faq-account__hero-title {
        font-size: 1.8em;
    }

    .page-faq-account__hero-subtitle {
        font-size: 1.0em;
    }

    .page-faq-account__btn {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-faq-account__section-title {
        font-size: 1.6em;
    }

    .page-faq-account__faq-question {
        font-size: 1.1em;
    }

    .page-faq-account__faq-item {
        padding: 15px;
    }

    .page-faq-account__image-caption {
        font-size: 0.8em;
    }

    .page-faq-account__contact-options, .page-faq-account__promotion-banner {
        padding: 20px;
    }
}