/* Panel Accordion Styles */

#cauhoithuonggap {
    padding: 60px 0;
    background: #f8f9fa;
}

#cauhoithuonggap .ask-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 40px;
}

.panel-default {
    background: transparent;
    border: none;
}

/* FAQ Accordion Styles - Custom Clean Implementation */
#cauhoithuonggap {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 40px 0;
    padding: 0 15px;
}

.faq-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-container {
    width: 100%;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question::before {
    content: '+';
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: #f0f7ff;
}

.faq-item.active .faq-question::before {
    content: '−';
    background: #0052a3;
    transform: rotate(180deg);
}

.faq-question span {
    flex: 1;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 20px 24px 20px 60px;
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #cauhoithuonggap {
        padding: 40px 0;
    }
    
    .faq-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .faq-question {
        padding: 16px 18px;
        gap: 10px;
    }
    
    .faq-question::before {
        width: 22px;
        height: 22px;
        font-size: 16px;
    }
    
    .faq-question span {
        font-size: 15px;
    }
    
    .faq-answer-content {
        padding: 16px 18px 16px 50px;
        font-size: 14px;
    }
}

@media (max-width: 550px) {
    #cauhoithuonggap {
        padding: 30px 0;
    }
    
    .faq-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .faq-items {
        gap: 10px;
    }
    
    .faq-question {
        padding: 14px 16px;
    }
    
    .faq-question::before {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
    
    .faq-question span {
        font-size: 14px;
    }
    
    .faq-answer-content {
        padding: 14px 16px 14px 46px;
        font-size: 13px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #cauhoithuonggap {
        padding: 40px 0;
    }
    
    #cauhoithuonggap .ask-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .panel-title {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .panel-title strong {
        gap: 12px;
    }
    
    .panel-title i {
        width: 20px;
        height: 20px;
        font-size: 18px;
    }
    
    .panel-body {
        padding: 0 20px 15px 52px;
        font-size: 14px;
    }
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.panel-collapse.in {
    animation: slideDown 0.3s ease-out;
}
