/* Help & FAQ Page Styles */

.help-page {
    background: var(--content-bg);
    min-height: 100vh;
}

.help-header {
    background: white;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.help-header h1 {
    font-size: 20px;
    font-weight: 500;
    color: #212121;
    margin: 0;
}

.help-search {
    padding: 16px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i.fa-search {
    position: absolute;
    left: 16px;
    color: #999;
    font-size: 16px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid #ddd;
    border-radius: 24px;
    font-size: 15px;
    background: #f8f9fa;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.1);
}

.clear-search {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.clear-search:hover {
    background-color: rgba(0,0,0,0.05);
}

.help-content {
    padding: 16px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 16px;
    color: #999;
    margin-bottom: 20px;
}

.faq-category {
    margin-bottom: 24px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: 8px 8px 0 0;
    border-left: 4px solid var(--primary-color);
}

.category-header i {
    font-size: 20px;
    color: var(--primary-color);
}

.category-header h2 {
    font-size: 18px;
    font-weight: 500;
    color: #212121;
    margin: 0;
}

.faq-items {
    background: white;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
}

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

.faq-question {
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s;
    user-select: none;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question span {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.faq-question i {
    font-size: 14px;
    color: #999;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 16px 16px 16px;
    animation: slideDown 0.3s ease-out;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

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

.contact-support {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3);
}

.support-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.support-text h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.support-text p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 20px 0;
}

.contact-support .btn {
    background: white;
    color: var(--primary-color);
    border: none;
}

.contact-support .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.quick-links {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.quick-links h3 {
    font-size: 16px;
    font-weight: 500;
    color: #212121;
    margin: 0 0 16px 0;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.quick-link-item:hover {
    background-color: #f8f9fa;
}

.quick-link-item i:first-child {
    font-size: 18px;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.quick-link-item span {
    flex: 1;
    font-size: 14px;
}

.quick-link-item i.fa-external-link-alt {
    font-size: 12px;
    color: #999;
}
