/* FAQ Specific Styles - High specificity selectors to override styles.css */
.faq-container {    
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.faq-container h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.search-container {
    margin: 2rem 0;
    text-align: center;
}

#faqSearch {
    width: 100%;
    max-width: 500px;
    padding: 0.8rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#faqSearch:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 2px 12px rgba(52,152,219,0.3);
}

.category {
    margin-bottom: 3rem;
}

.category h2 {
    color: #2980b9;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 500;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 1.2rem 2rem;
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
}

.faq-answer.show {
    padding: 1.5rem 2rem;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.faq-answer ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.faq-answer ul li {
    margin-bottom: 0.5rem;
}

.faq-answer table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.faq-answer th, .faq-answer td {
    padding: 0.8rem;
    text-align: left;
    border: 1px solid #eee;
}

.faq-answer th {
    background-color: #f1f8fe;
    font-weight: 600;
}

.faq-answer tr:nth-child(even) {
    background-color: #f9f9f9;
}

.timeline {
    list-style-type: none;
    padding-left: 0;
}

.timeline li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #3498db;
}

.highlight {
    background-color: #fffde7;
    padding: 0 2px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px #ffd600;
}

@media (max-width: 768px) {
    .faq-container {
        padding: 0 1rem;
        margin:0 !important;
    }
    
    .faq-question,
    .faq-answer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .faq-question::after {
        right: 1rem;
    }
}
