/* style/huong-dan-nap-rut-tien.css */

/* Custom properties for colors based on theme */
:root {
    --df99-primary: #C61F1F;
    --df99-secondary: #E53030;
    --df99-background: #140C0C;
    --df99-card-bg: #2A1212;
    --df99-text-main: #FFF1E8;
    --df99-border: #6A1E1E;
    --df99-gold: #F3C54D;
    --df99-deep-red: #7E0D0D;
    --df99-button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-huong-dan-nap-rut-tien {
    background-color: var(--df99-background); /* Dark background for the page content */
    color: var(--df99-text-main); /* Light text for readability on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* HERO Section */
.page-huong-dan-nap-rut-tien__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    background-color: var(--df99-deep-red); /* Using deep red for hero background */
    display: flex;
    flex-direction: column; /* Default column for mobile, then row for desktop */
    align-items: center;
    gap: 40px;
    text-align: center;
}

.page-huong-dan-nap-rut-tien__hero-content {
    max-width: 800px;
    padding: 0 15px;
}

.page-huong-dan-nap-rut-tien__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--df99-gold); /* Gold title for prominence */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-huong-dan-nap-rut-tien__description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--df99-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-huong-dan-nap-rut-tien__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container width for mobile responsiveness */
    max-width: 500px; /* Limit max width for desktop layout */
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding for mobile */
}

.page-huong-dan-nap-rut-tien__btn-primary,
.page-huong-dan-nap-rut-tien__btn-secondary {
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-grow: 1; /* Allow buttons to grow */
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 240px; /* Max width for individual buttons on desktop */
}

.page-huong-dan-nap-rut-tien__btn-primary {
    background: var(--df99-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-huong-dan-nap-rut-tien__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-huong-dan-nap-rut-tien__btn-secondary {
    background: transparent;
    color: var(--df99-gold);
    border: 2px solid var(--df99-gold);
    box-shadow: 0 2px 10px rgba(243, 197, 77, 0.2);
}

.page-huong-dan-nap-rut-tien__btn-secondary:hover {
    background: var(--df99-gold);
    color: var(--df99-deep-red);
    transform: translateY(-2px);
}

.page-huong-dan-nap-rut-tien__hero-image {
    max-width: 800px; /* Ensure image fits within container */
    width: 100%;
    text-align: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-huong-dan-nap-rut-tien__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-huong-dan-nap-rut-tien__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-huong-dan-nap-rut-tien__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--df99-gold);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    line-height: 1.3;
}

.page-huong-dan-nap-rut-tien__text-block {
    font-size: 1.1rem;
    color: var(--df99-text-main);
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-huong-dan-nap-rut-tien__intro-section {
    padding-bottom: 60px;
    background-color: var(--df99-background);
}

.page-huong-dan-nap-rut-tien__guide-section {
    padding-bottom: 60px;
    background-color: var(--df99-background);
}

.page-huong-dan-nap-rut-tien__guide-section.page-huong-dan-nap-rut-tien__dark-section {
    background-color: var(--df99-card-bg); /* Darker background for contrast */
}

.page-huong-dan-nap-rut-tien__step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-huong-dan-nap-rut-tien__step-item {
    background-color: var(--df99-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--df99-border);
    text-align: center;
}

.page-huong-dan-nap-rut-tien__step-item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 25px auto 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-nap-rut-tien__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--df99-gold);
    margin-bottom: 15px;
}

.page-huong-dan-nap-rut-tien__step-description {
    font-size: 1rem;
    color: var(--df99-text-main);
    text-align: center;
}

.page-huong-dan-nap-rut-tien__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Tips Section */
.page-huong-dan-nap-rut-tien__tips-section {
    padding-bottom: 60px;
    background-color: var(--df99-deep-red); /* Using deep red for contrast */
}

.page-huong-dan-nap-rut-tien__tip-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0;
}

.page-huong-dan-nap-rut-tien__tip-item {
    background-color: var(--df99-card-bg);
    border-left: 5px solid var(--df99-gold);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: var(--df99-text-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-huong-dan-nap-rut-tien__tip-item strong {
    color: var(--df99-gold);
}

/* FAQ Section */
.page-huong-dan-nap-rut-tien__faq-section {
    padding-bottom: 60px;
    background-color: var(--df99-background);
}

.page-huong-dan-nap-rut-tien__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-huong-dan-nap-rut-tien__faq-item {
    background-color: var(--df99-card-bg);
    border: 1px solid var(--df99-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-nap-rut-tien__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--df99-gold);
    background-color: var(--df99-card-bg);
    transition: background-color 0.3s ease;
    list-style: none; /* Hide default details marker */
}

.page-huong-dan-nap-rut-tien__faq-question::-webkit-details-marker {
    display: none; /* Hide default details marker for webkit browsers */
}

.page-huong-dan-nap-rut-tien__faq-question:hover {
    background-color: rgba(var(--df99-gold), 0.1);
}

.page-huong-dan-nap-rut-tien__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--df99-gold);
    margin-left: 15px;
}

.page-huong-dan-nap-rut-tien__faq-item[open] .page-huong-dan-nap-rut-tien__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-huong-dan-nap-rut-tien__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--df99-text-main);
    line-height: 1.7;
    text-align: justify;
}

/* Bottom CTA Section */
.page-huong-dan-nap-rut-tien__cta-bottom-section {
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: var(--df99-deep-red);
    text-align: center;
}

.page-huong-dan-nap-rut-tien__cta-bottom-content {
    max-width: 900px;
}

/* Responsive Styles */
@media (min-width: 769px) {
    .page-huong-dan-nap-rut-tien__hero-section {
        flex-direction: row; /* Desktop layout: row */
        justify-content: space-around;
        padding: 80px 15px; /* Adjust padding for desktop */
    }

    .page-huong-dan-nap-rut-tien__hero-content {
        text-align: left;
        flex: 1;
        max-width: 50%;
        padding-right: 30px;
    }

    .page-huong-dan-nap-rut-tien__hero-image {
        flex: 1;
        max-width: 45%;
        padding-left: 30px;
    }

    .page-huong-dan-nap-rut-tien__main-title,
    .page-huong-dan-nap-rut-tien__description {
        margin-left: 0;
        margin-right: 0;
    }

    .page-huong-dan-nap-rut-tien__cta-buttons {
        justify-content: flex-start; /* Align buttons to the left on desktop */
        padding: 0;
    }

    .page-huong-dan-nap-rut-tien__btn-primary,
    .page-huong-dan-nap-rut-tien__btn-secondary {
        flex-grow: 0; /* Don't grow on desktop */
    }
}


@media (max-width: 768px) {
    /* HERO Section */
    .page-huong-dan-nap-rut-tien__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px;
        flex-direction: column;
        gap: 30px;
    }

    .page-huong-dan-nap-rut-tien__hero-content {
        padding: 0 20px;
    }

    .page-huong-dan-nap-rut-tien__main-title {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }

    .page-huong-dan-nap-rut-tien__description {
        font-size: 1rem !important;
        margin-bottom: 25px;
    }

    .page-huong-dan-nap-rut-tien__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-huong-dan-nap-rut-tien__btn-primary,
    .page-huong-dan-nap-rut-tien__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .page-huong-dan-nap-rut-tien__hero-image {
        padding: 0 20px;
    }

    /* Intro Section */
    .page-huong-dan-nap-rut-tien__intro-section {
        padding-bottom: 40px;
    }

    /* Guide Section */
    .page-huong-dan-nap-rut-tien__guide-section {
        padding-bottom: 40px;
    }

    .page-huong-dan-nap-rut-tien__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px;
        padding-top: 40px;
    }

    .page-huong-dan-nap-rut-tien__text-block {
        font-size: 1rem;
        padding: 0 20px;
    }

    .page-huong-dan-nap-rut-tien__step-list {
        grid-template-columns: 1fr; /* Single column for steps */
        gap: 30px;
        margin-top: 30px;
        padding: 0 20px;
    }

    .page-huong-dan-nap-rut-tien__step-item {
        padding: 25px;
    }

    .page-huong-dan-nap-rut-tien__step-title {
        font-size: 1.3rem;
    }

    .page-huong-dan-nap-rut-tien__step-item img {
        margin: 20px auto 0;
    }

    .page-huong-dan-nap-rut-tien__cta-center {
        margin-top: 40px;
        padding: 0 20px;
    }

    /* Tips Section */
    .page-huong-dan-nap-rut-tien__tips-section {
        padding-bottom: 40px;
    }

    .page-huong-dan-nap-rut-tien__tip-list {
        margin-top: 30px;
        padding: 0 20px;
    }

    .page-huong-dan-nap-rut-tien__tip-item {
        font-size: 1rem;
        padding: 18px 20px;
    }

    /* FAQ Section */
    .page-huong-dan-nap-rut-tien__faq-section {
        padding-bottom: 40px;
    }

    .page-huong-dan-nap-rut-tien__faq-list {
        margin-top: 30px;
        padding: 0 20px;
    }

    .page-huong-dan-nap-rut-tien__faq-question {
        font-size: 1.1rem;
        padding: 18px 20px;
    }

    .page-huong-dan-nap-rut-tien__faq-toggle {
        font-size: 1.5rem;
    }

    .page-huong-dan-nap-rut-tien__faq-answer {
        font-size: 0.95rem;
        padding: 0 20px 18px;
    }

    /* Bottom CTA Section */
    .page-huong-dan-nap-rut-tien__cta-bottom-section {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .page-huong-dan-nap-rut-tien__cta-bottom-content {
        padding: 0 20px;
    }

    /* Universal image and container sizing for mobile */
    .page-huong-dan-nap-rut-tien img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-huong-dan-nap-rut-tien__container,
    .page-huong-dan-nap-rut-tien__step-item,
    .page-huong-dan-nap-rut-tien__tip-item,
    .page-huong-dan-nap-rut-tien__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right are handled by specific sections/elements */
    }

    /* Ensure no horizontal scroll for the main content area */
    .page-huong-dan-nap-rut-tien {
        overflow-x: hidden;
    }
}