/* faq.css */
@charset "UTF-8";
@font-face{font-family:IRANSans;font-style:normal;
    font-weight:200;
    src:url(../fonts/eot/IRANSansWeb_UltraLight.eot);
    src:url(../fonts/eot/IRANSansWeb_UltraLight.eot?#iefix) format("embedded-opentype"),
    url(../fonts/woff2/IRANSansWeb_UltraLight.woff2) format("woff2"),
    url(../fonts/woff/IRANSansWeb_UltraLight.woff) format("woff"),
    url(../fonts/ttf/IRANSansWeb_UltraLight.ttf) format("truetype");
    }

.search-wrap,.search-input{
    font-family: IRANSans, Arial, sans-serif;
}
.faq-btn{
    font-family: IRANSans, Arial, sans-serif;
}
body {
    font-family: IRANSans, Arial, sans-serif;
    background-color: #f9fafb;
    margin: 0;
    padding: 0;
    color: #111827;
}

.container {
    /*max-width: 800px;*/
    margin: 0 auto;
    padding: 20px;
}

.title {
    font-size: 1.8rem !important;;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.search-wrap {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem !important;;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: #2563eb;
}

.no-results {
    display: none;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #fca5a5;
    background-color: #fee2e2;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.no-results .icon {
    font-size: 1.5rem !important;;
    margin-bottom: 8px;
}

.no-results a {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.group {
    margin-bottom: 24px;
}

.group-title {
    font-size: 1.2rem!important;
    font-weight: bold;
    margin-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 6px;
    color: #6a3381;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    text-align: right;
    background-color: #fff;
    border: none;
    outline: none;
    padding: 12px;
    font-size: 1rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-btn:hover {
    background-color: #f3f4f6;
}

.faq-answer {
    display: none;
    background-color: #f9fafb;
    padding: 10px;
    border-top: 1px solid #e5e7eb;
    line-height: 2;
    text-align: justify;
    font-size: 13px;
}

.views {
    font-size: 0.9rem !important;;
    color: #6b7280;
}

mark {
    background-color: #fde68a;
    padding: 0 2px;
    border-radius: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ریسپانسیو */
@media (max-width: 600px) {
    .title {
        font-size: 1.5rem !important;;
    }

    .faq-btn {
        font-size: 0.95rem !important;;
        padding: 10px;
    }

    .faq-answer {
        font-size: 0.9rem !important;;
    }
}
