﻿/* CSS cho section hoàn chỉnh - Tất cả được scope trong .content-section */
.content-section {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

    /* Main Navigation */
    .content-section .main-nav {
        background: white;
        border-bottom: 2px solid #e0e0e0;
        margin-bottom: 30px;
    }

        .content-section .main-nav ul {
            list-style: none;
            display: flex;
            margin: 0;
            padding: 0;
            flex-wrap: wrap;
        }

        .content-section .main-nav li {
            margin-right: 0;
        }

        .content-section .main-nav a {
            display: block;
            padding: 15px 20px;
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: all 0.2s;
            border-bottom: 3px solid transparent;
            white-space: nowrap;
        }

            .content-section .main-nav a:hover {
                color: #007bff;
                background-color: #f8f9fa;
            }

            .content-section .main-nav a.active {
                color: #007bff;
                border-bottom-color: #007bff;
                background-color: #f8f9fa;
            }

    /* FAQ Content */
    .content-section .faq-content {
        padding-left: 30px;
    }

        .content-section .faq-content h1 {
            font-size: 30px;
            font-weight: 600;
            color: #333;
            margin-bottom: 30px;
        }

    /* FAQ Section */
    .content-section .faq-section {
        max-width: 1100px;
    }

    .content-section .faq-item {
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 0;
    }

    .content-section .faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        cursor: pointer;
        font-weight: 700;
        color: #333;
        transition: color 0.2s;
    }

        .content-section .faq-question span {
            font-weight: 500;
            font-size: 18px;
        }

        .content-section .faq-question:hover {
            color: #007bff;
        }

    .content-section .toggle-icon {
        font-size: 14px;
        color: #666;
        transition: transform 0.2s;
    }

    .content-section .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        padding: 0;
    }

        .content-section .faq-answer.active {
            max-height: 200px;
            padding-bottom: 20px;
        }

        .content-section .faq-answer p {
            color: #666;
            line-height: 1.6;
            font-size: 15px;
            margin: 0;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .content-section .main-nav ul {
        flex-wrap: wrap;
    }

    .content-section .main-nav a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .content-section .faq-question {
        padding: 15px 0;
        font-size: 14px;
    }

    .content-section .faq-content h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .content-section .main-nav ul {
        flex-direction: column;
    }

    .content-section .main-nav a {
        border-bottom: 1px solid #e0e0e0;
        border-right: none;
    }

        .content-section .main-nav a.active {
            border-bottom-color: #007bff;
        }
}
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #002D72;
    border-radius: 9999px;
    padding: 8px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
}

    .search-container input {
        flex: 1;
        border: none;
        outline: none;
        padding: 6px 8px 6px 32px;
        font-size: 14px;
        color: #002D72;
        background: transparent;
    }

.search-input {
    padding-left: 36px; /* đủ chỗ cho icon và khoảng cách */
    height: 36px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s ease;
}

    .search-input:focus {
        border-color: #0076e0;
    }

.clear-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #002D72;
    cursor: pointer;
}