/* Help Center — extracted from help/index.php inline <style>. */

/* Help Center Styling */
.help-hero {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.help-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.help-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.help-search {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    box-sizing: border-box;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    color: #0052cc;
    cursor: pointer;
}

.help-section {
    padding: 80px 0;
    background: #f8fafc;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.quick-link-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.quick-link-card:link,
.quick-link-card:visited,
.quick-link-card:hover,
.quick-link-card:active {
    text-decoration: none;
    color: inherit;
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    background: #0052cc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 0 20px 0;
    flex-shrink: 0;
}

.quick-link-card h3 {
    margin: 0 0 10px 0;
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.quick-link-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.faq-categories {
    margin: 60px 0;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.category-btn:hover, .category-btn.active {
    background: #0052cc;
    border-color: #0052cc;
    color: white;
    text-decoration: none;
}

.faq-content {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    padding: 25px 30px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.expanded::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px 25px 30px;
    color: #475569;
    line-height: 1.6;
    display: none;
}

.faq-answer.show {
    display: block;
}

.faq-answer h4 {
    color: #1e293b;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.faq-answer ul, .faq-answer ol {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer a {
    color: #0052cc;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.help-contact {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.help-contact h2 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 2rem;
}

.help-contact p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-method {
    padding: 30px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.contact-method:hover {
    border-color: #0052cc;
    background: #f8fafc;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #0052cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin: 0 auto 15px;
}

.contact-method h3 {
    margin: 0 0 10px 0;
    color: #1e293b;
    font-size: 1.2rem;
}

.contact-method p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.search-results {
    display: none;
    background: white;
    border-radius: 12px;
    margin-top: 40px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-results h3 {
    color: #1e293b;
    margin-bottom: 20px;
}

.search-result-item {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    color: #0052cc;
    font-weight: 600;
    margin-bottom: 5px;
    cursor: pointer;
}

.search-result-snippet {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .help-hero h1 {
        font-size: 2.2rem;
    }

    .help-hero p {
        font-size: 1.1rem;
    }

    .help-container {
        padding: 0 15px;
    }

    .quick-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quick-link-card {
        padding: 25px 20px;
        margin: 0;
    }

    .quick-link-card h3 {
        font-size: 1.2rem;
    }

    .quick-link-card p {
        font-size: 0.9rem;
    }

    .category-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .category-btn {
        white-space: nowrap;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .faq-question, .faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
}
