/* ================================================
   SeyHire - FAQ Page Styles (Updated)
   ================================================ */

/* =============== FAQ Hero Section =============== */
.faq-hero {
    position: relative;
    background: linear-gradient(135deg, #1a3c8c 0%, #2952a3 50%, #ff7a00 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

[data-theme="dark"] .faq-hero {
    background: linear-gradient(135deg, #0d1f4a 0%, #1a3c8c 50%, #cc6200 100%);
}

.faq-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.faq-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.faq-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.faq-hero .hero-title .highlight {
    color: #ff7a00;
}

.faq-hero .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Search Box */
.faq-search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

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

.faq-search-box .search-wrapper > i {
    position: absolute;
    left: 20px;
    font-size: 1.3rem;
    color: #94a3b8;
    pointer-events: none;
}

.faq-search-box input {
    width: 100%;
    padding: 18px 55px 18px 55px;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.faq-search-box input:focus {
    outline: none;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.faq-search-box input::placeholder {
    color: #94a3b8;
}

[data-theme="dark"] .faq-search-box input {
    background: #1e293b;
    color: #f1f5f9;
}

.search-clear {
    position: absolute;
    right: 18px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

[data-theme="dark"] .search-clear {
    background: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .search-clear:hover {
    background: #475569;
    color: #f1f5f9;
}

/* =============== Categories Section =============== */
.faq-categories-section {
    background: #ffffff;
    padding: 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

[data-theme="dark"] .faq-categories-section {
    background: #1e293b;
}

.categories-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

[data-theme="dark"] .categories-wrapper {
    background: #1e293b;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="dark"] .category-tab {
    background: #0f172a;
    color: #94a3b8;
}

.category-tab:hover {
    background: #f1f5f9;
    color: #1a3c8c;
    transform: translateY(-2px);
}

[data-theme="dark"] .category-tab:hover {
    background: #334155;
    color: #60a5fa;
}

.category-tab.active {
    background: #1a3c8c;
    color: #ffffff;
    border-color: #1a3c8c;
}

[data-theme="dark"] .category-tab.active {
    background: #3b82f6;
    border-color: #3b82f6;
}

.category-tab i {
    font-size: 1.15rem;
}

.category-tab .count {
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.category-tab.active .count {
    background: rgba(255, 255, 255, 0.2);
}

/* =============== FAQ Content Section =============== */
.faq-content-section {
    padding: 50px 0 70px;
    background: #f8fafc;
}

[data-theme="dark"] .faq-content-section {
    background: #0f172a;
}

.faq-category-group {
    margin-bottom: 35px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e2e8f0;
}

[data-theme="dark"] .category-header {
    border-color: #334155;
}

.category-header i {
    font-size: 1.6rem;
    color: #1a3c8c;
}

[data-theme="dark"] .category-header i {
    color: #60a5fa;
}

.category-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

[data-theme="dark"] .category-header h2 {
    color: #f1f5f9;
}

/* FAQ Items */
.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] .faq-item {
    background: #1e293b;
    border-color: #334155;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

[data-theme="dark"] .faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-color: #475569;
}

.faq-item.open {
    box-shadow: 0 8px 24px rgba(26, 60, 140, 0.12);
    border-color: #1a3c8c;
}

[data-theme="dark"] .faq-item.open {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

[data-theme="dark"] .faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.question-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
    padding-right: 16px;
}

[data-theme="dark"] .question-text {
    color: #f1f5f9;
}

.faq-item.open .question-text {
    color: #1a3c8c;
}

[data-theme="dark"] .faq-item.open .question-text {
    color: #60a5fa;
}

.question-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .question-icon {
    background: #334155;
}

.question-icon i {
    font-size: 1.2rem;
    color: #64748b;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .question-icon i {
    color: #94a3b8;
}

.faq-item.open .question-icon {
    background: #1a3c8c;
}

[data-theme="dark"] .faq-item.open .question-icon {
    background: #3b82f6;
}

.faq-item.open .question-icon i {
    color: #ffffff;
    transform: rotate(45deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 800px;
}

.answer-content {
    padding: 0 22px 22px;
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

[data-theme="dark"] .answer-content {
    color: #94a3b8;
}

.answer-content p {
    margin-bottom: 14px;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

.answer-content a {
    color: #1a3c8c;
    font-weight: 500;
    text-decoration: none;
}

.answer-content a:hover {
    text-decoration: underline;
}

[data-theme="dark"] .answer-content a {
    color: #60a5fa;
}

.answer-content ul,
.answer-content ol {
    margin: 14px 0;
    padding-left: 20px;
}

.answer-content li {
    margin-bottom: 8px;
}

/* Answer CTA */
.answer-cta {
    margin-top: 18px;
}

.btn-answer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1a3c8c;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-answer:hover {
    background: #0f2557;
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(26, 60, 140, 0.3);
}

[data-theme="dark"] .btn-answer {
    background: #3b82f6;
}

[data-theme="dark"] .btn-answer:hover {
    background: #2563eb;
}

/* Answer Notes */
.answer-note {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 10px;
    margin: 14px 0;
    background: linear-gradient(135deg, rgba(26, 60, 140, 0.08), rgba(26, 60, 140, 0.03));
    border-left: 3px solid #1a3c8c;
}

[data-theme="dark"] .answer-note {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-left-color: #3b82f6;
}

.answer-note i {
    font-size: 1.2rem;
    color: #1a3c8c;
    flex-shrink: 0;
    margin-top: 2px;
}

[data-theme="dark"] .answer-note i {
    color: #60a5fa;
}

.answer-note p {
    margin: 0;
    font-size: 0.9rem;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 18px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .contact-method {
    background: #0f172a;
    border-color: #334155;
}

.contact-method i {
    font-size: 1.4rem;
    color: #1a3c8c;
}

[data-theme="dark"] .contact-method i {
    color: #60a5fa;
}

.contact-method strong {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 2px;
}

.contact-method a {
    font-size: 0.9rem;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 6px;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.status-badge.shortlisted {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
}

[data-theme="dark"] .no-results {
    background: #1e293b;
    border-color: #334155;
}

.no-results-content i {
    font-size: 3.5rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.no-results-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

[data-theme="dark"] .no-results-content h3 {
    color: #f1f5f9;
}

.no-results-content p {
    color: #64748b;
    margin-bottom: 20px;
}

[data-theme="dark"] .no-results-content p {
    color: #94a3b8;
}

.btn-reset-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1a3c8c;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-search:hover {
    background: #0f2557;
    transform: translateY(-2px);
}

/* =============== FAQ Sidebar =============== */
.faq-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .sidebar-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Help Card */
.help-card {
    text-align: center;
    background: linear-gradient(135deg, #1a3c8c 0%, #0f2557 100%);
    border: none;
    color: #ffffff;
}

.help-card .card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-card .card-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.help-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.help-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.5;
}

.help-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-help.primary {
    background: #ffffff;
    color: #1a3c8c;
}

.btn-help.primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.btn-help.whatsapp {
    background: #25D366;
    color: #ffffff;
}

.btn-help.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Topics Card */
.topics-card h4,
.links-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
}

[data-theme="dark"] .topics-card h4,
[data-theme="dark"] .links-card h4 {
    color: #f1f5f9;
}

.topics-card h4 i,
.links-card h4 i {
    color: #ff7a00;
}

.topic-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .topic-link {
    background: #0f172a;
    color: #94a3b8;
}

.topic-link:hover {
    background: #1a3c8c;
    color: #ffffff;
    transform: translateX(4px);
    text-decoration: none;
}

[data-theme="dark"] .topic-link:hover {
    background: #3b82f6;
}

.topic-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.topic-link:hover i {
    transform: translateX(3px);
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .quick-links a {
    color: #94a3b8;
}

.quick-links a:hover {
    background: #f8fafc;
    color: #1a3c8c;
    text-decoration: none;
}

[data-theme="dark"] .quick-links a:hover {
    background: #0f172a;
    color: #60a5fa;
}

.quick-links a i {
    font-size: 1rem;
    color: #1a3c8c;
}

[data-theme="dark"] .quick-links a i {
    color: #60a5fa;
}

/* =============== CTA Section =============== */
.faq-cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #1a3c8c 0%, #2952a3 50%, #ff7a00 100%);
    position: relative;
    overflow: hidden;
}

.faq-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon i {
    font-size: 2.2rem;
    color: #ffffff;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta.primary {
    background: #ffffff;
    color: #1a3c8c;
}

.btn-cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #1a3c8c;
    text-decoration: none;
}

.btn-cta.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
    color: #ffffff;
    text-decoration: none;
}

/* =============== Responsive Design =============== */
@media (max-width: 992px) {
    .faq-hero {
        padding: 100px 0 70px;
    }

    .faq-hero .hero-title {
        font-size: 2.5rem;
    }

    .faq-content-section .row {
        flex-direction: column-reverse;
    }

    .faq-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 260px;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 90px 0 60px;
    }

    .faq-hero .hero-title {
        font-size: 2rem;
    }

    .faq-hero .hero-subtitle {
        font-size: 1rem;
    }

    .categories-wrapper {
        padding: 14px;
        gap: 8px;
    }

    .category-tab {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .category-tab span:not(.count) {
        display: none;
    }

    .faq-question {
        padding: 18px;
    }

    .question-text {
        font-size: 0.95rem;
    }
}