/**
 * FAQ Page Styles - Modern Redesign
 * A clean, intuitive, and engaging user experience
 */

/* ===== GENERAL STYLES ===== */
.faq-section {
    padding: 60px 0;
    position: relative;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
}

.container-fluid {
    max-width: 1400px;
}

/* ===== HEADER SECTION ===== */
.faq-header {
    margin-bottom: 50px;
    text-align: center;
}

.faq-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.faq-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.faq-header p {
    font-size: 1.2rem;
    color: #4b5563;
    max-width: 800px;
    margin: 30px auto 0;
    line-height: 1.7;
}

/* ===== STICKY SEARCH BAR ===== */
.faq-search-container-wrapper {
    position: sticky;
    top: 20px;
    z-index: 100;
    padding: 15px 0;
    /* background: rgba(255, 255, 255, 0.6); */
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-radius: 20px;
    margin-bottom: 40px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
}

.faq-search-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.faq-search-form {
    position: relative;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    border-radius: 100px;
    transition: all 0.3s ease;
    background-color: transparent;
    overflow: hidden;
}

.faq-search-form:focus-within {
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.3);
    transform: translateY(-3px);
}

.faq-search-input {
    width: 100%;
    padding: 22px 60px 22px 70px;
    border: 2px solid #e5e7eb;
    border-radius: 100px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: transparent;
}

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

.faq-search-input::placeholder {
    color: #94a3b8;
    transition: opacity 0.3s ease;
}

.faq-search-input:focus::placeholder {
    opacity: 0.5;
}

.search-icon {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.faq-search-form:focus-within .search-icon {
    color: #4f46e5;
    transform: translateY(-50%) scale(1.1);
}

.search-clear {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    border: none;
    background: rgba(241, 245, 249, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    display: none;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear:hover {
    color: #334155;
    background-color: #e2e8f0;
}

.search-results-info {
    position: absolute;
    right: 15px;
    bottom: -30px;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(to right, #2563eb, #4f46e5);
    padding: 5px 15px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.search-results-info.show {
    opacity: 1;
}

/* ===== CATEGORY TABS ===== */
.faq-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.faq-sidebar {
    width: 300px;
    position: sticky;
    top: 110px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.faq-content {
    flex: 1;
    min-width: 0;
}

.faq-categories {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.faq-categories:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.faq-category-item {
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.faq-category-item:last-child {
    border-bottom: none;
}

.faq-category-button {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 20px;
    background-color: transparent;
    border: none;
    text-align: left;
    color: #4b5563;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.faq-category-button:hover {
    background-color: #f1f5f9;
    color: #2563eb;
}

.faq-category-button.active {
    background: linear-gradient(to right, rgba(37, 99, 235, 0.05), transparent);
    color: #2563eb;
    border-left-color: #2563eb;
    font-weight: 600;
}

.faq-category-icon {
    font-size: 1.3rem;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    background: #f1f5f9;
    border-radius: 8px;
    color: #4b5563;
}

.faq-category-button.active .faq-category-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.faq-category-button:hover .faq-category-icon {
    background: #e2e8f0;
    color: #2563eb;
}

.faq-category-count {
    margin-left: auto;
    background-color: #f1f5f9;
    color: #4b5563;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 4px 12px;
    transition: all 0.3s ease;
}

.faq-category-button.active .faq-category-count,
.faq-category-button:hover .faq-category-count {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

/* For mobile/tablet category menu */
.faq-mobile-categories {
    display: none;
    width: 100%;
    margin-bottom: 30px;
}

.faq-category-select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background-color: white;
    font-size: 1.05rem;
    color: #4b5563;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232563eb' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

/* ===== ACCORDION STYLING ===== */
.faq-list {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.faq-item {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.4s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background-color: #f8fafd;
}

.faq-item.active {
    background: linear-gradient(to right, rgba(37, 99, 235, 0.03), rgba(79, 70, 229, 0.02));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 0;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    transition: all 0.3s ease;
}

.faq-question:focus {
    outline: none;
}

.faq-question-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

.faq-item.active .faq-question-number {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.faq-item:hover .faq-question-number {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.15);
}

.faq-question-content {
    flex: 1;
    padding-right: 50px;
}

.faq-question-text {
    color: #1e293b;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question-text {
    color: #2563eb;
}

.faq-category-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, #dbeafe, #e0e7ff);
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.1);
}

.faq-item.active .faq-category-tag {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
    transform: translateX(5px);
}

.faq-question-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.faq-item.active .faq-question-toggle {
    transform: translateY(-50%) rotate(180deg);
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.faq-question-toggle i {
    font-size: 1rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question-toggle i {
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    background-color: rgba(248, 250, 252, 0.8);
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    transition: all 0.5s cubic-bezier(0.5, 0, 1, 0);
    border-top: 1px dashed rgba(226, 232, 240, 0.8);
}

.faq-answer-content {
    padding: 0 25px 30px 85px;
    color: #475569;
    line-height: 1.8;
    font-size: 1.05rem;
    animation: fadeIn 0.5s ease forwards;
}

/* Highlight search results */
.highlight-text {
    background: linear-gradient(to bottom, rgba(249, 230, 170, 0.5), rgba(251, 211, 141, 0.5));
    padding: 0 4px;
    border-radius: 3px;
    font-weight: 600;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    color: #b45309;
}

/* Empty state */
.faq-empty-state {
    padding: 70px 40px;
    text-align: center;
    background: linear-gradient(135deg, #fff, #f8fafd);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.faq-empty-icon {
    font-size: 5rem;
    color: #93c5fd;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 10px 15px rgba(37, 99, 235, 0.1));
}

.faq-empty-title {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
}

.faq-empty-text {
    color: #64748b;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* No results message */
.no-results-message {
    padding: 50px 40px;
    background: linear-gradient(135deg, #fff, #f8fafd);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.07);
    text-align: center;
    display: none;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.no-results-icon {
    font-size: 4rem;
    color: #93c5fd;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 15px rgba(37, 99, 235, 0.1));
}

.no-results-title {
    font-size: 1.6rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.no-results-text {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

#resetSearchBtn {
    padding: 14px 30px;
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

#resetSearchBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Pagination */
.faq-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: inline-flex;
    background-color: white;
    border-radius: 100px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    padding: 5px;
}

.pagination .page-item {
    margin: 0 3px;
}

.pagination .page-link {
    border: none;
    border-radius: 50%;
    color: #4b5563;
    font-weight: 600;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #f1f5f9;
    color: #2563eb;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.2);
}

.pagination .page-item.disabled .page-link {
    color: #cbd5e1;
    pointer-events: none;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    z-index: 99;
    font-size: 1.2rem;
}

.back-to-top.visible {
    bottom: 30px;
    opacity: 1;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

/* Helper section */
.faq-helper {
    margin-top: 100px;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 30px 30px 0 0;
    margin-bottom: -30px;
    position: relative;
    overflow: hidden;
}

.faq-helper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23bfdbfe' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.helper-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.7);
}

.helper-card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(79, 70, 229, 0.05));
    border-radius: 50%;
    top: -60px;
    right: -60px;
    z-index: -1;
}

.helper-card::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(79, 70, 229, 0.03));
    border-radius: 50%;
    bottom: -30px;
    left: -30px;
    z-index: -1;
}

.helper-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.helper-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    color: #2563eb;
    border-radius: 20px;
    font-size: 2.2rem;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.helper-card:hover .helper-icon {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}

.helper-title {
    font-size: 1.4rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 15px;
}

.helper-text {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.7;
}

.helper-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    color: #2563eb;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.1);
}

.helper-button:hover {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    transform: translateX(5px);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes highlightAnimation {
    0% { background-color: rgba(37, 99, 235, 0.1); }
    100% { background-color: transparent; }
}

.highlight-item {
    animation: highlightAnimation 2s ease;
}

/* Category content display */
.faq-category-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.faq-category-content.active {
    display: block;
}

/* Responsive design */
@media (max-width: 992px) {
    .faq-sidebar {
        display: none;
    }
    
    .faq-mobile-categories {
        display: block;
    }
    
    .faq-header h2 {
        font-size: 2.5rem;
    }
    
    .faq-search-container-wrapper {
        top: 15px;
    }
    
    .faq-search-input {
        padding: 18px 50px 18px 60px;
    }
    
    .back-to-top {
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .helper-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-header h2 {
        font-size: 2rem;
    }
    
    .faq-header p {
        font-size: 1.05rem;
        margin-top: 25px;
    }
    
    .faq-search-input {
        padding: 16px 45px 16px 55px;
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .faq-question-text {
        font-size: 1.05rem;
    }
    
    .faq-category-tag {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .faq-answer-content {
        padding: 0 20px 25px 75px;
        font-size: 1rem;
    }
    
    .helper-card {
        padding: 30px 20px;
    }
    
    .helper-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .helper-title {
        font-size: 1.3rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
        font-size: 1rem;
    }
    
    .back-to-top.visible {
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 1.8rem;
    }
    
    .faq-search-container-wrapper {
        padding: 10px 0;
    }
    
    .faq-search-input {
        padding: 14px 45px 14px 50px;
        font-size: 0.95rem;
    }
    
    .search-icon {
        left: 20px;
        font-size: 1.2rem;
    }
    
    .search-clear {
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .faq-question {
        padding: 15px;
        gap: 12px;
    }
    
    .faq-question-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .faq-question-text {
        font-size: 1rem;
    }
    
    .faq-category-tag {
        font-size: 0.65rem;
        padding: 2px 8px;
    }
    
    .faq-answer-content {
        padding: 0 15px 20px 60px;
        font-size: 0.95rem;
    }
    
    .pagination .page-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .faq-search-container-wrapper,
    .faq-sidebar,
    .faq-mobile-categories,
    .back-to-top,
    .faq-helper,
    .load-more-button,
    .faq-pagination {
        display: none !important;
    }
    
    .faq-item {
        break-inside: avoid;
        page-break-inside: avoid;
        border-bottom: 1px solid #ddd;
    }
    
    .faq-item.active .faq-answer,
    .faq-answer {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .faq-question-toggle {
        display: none;
    }
    
    .faq-question-number {
        border: 1px solid #333;
        color: #333 !important;
        background: none !important;
    }
    
    .faq-category-tag {
        border: 1px solid #2563eb;
        color: #2563eb !important;
        background: none !important;
    }
    
    .faq-section {
        background-color: white !important;
        padding: 0 !important;
    }
    
    .faq-list {
        box-shadow: none !important;
    }
}