/* Wingmore FAQ Widget Styles */
.faq-widget {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #F3EDEA;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.faq-widget.animations-enabled {
    animation: fadeInUp 0.8s ease-out;
}

.faq-widget.speed-slow {
    --animation-duration: 1.2s;
    --stagger-delay: 0.15s;
}

.faq-widget.speed-normal {
    --animation-duration: 0.8s;
    --stagger-delay: 0.1s;
}

.faq-widget.speed-fast {
    --animation-duration: 0.4s;
    --stagger-delay: 0.05s;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Page Hero */
.faq-widget .faq-hero {
    background: linear-gradient(135deg, #FF9100 0%, #e6820a 100%);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-widget .faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="white" opacity="0.2"/><circle cx="75" cy="30" r="3" fill="white" opacity="0.1"/><text x="50" y="50" text-anchor="middle" fill="white" font-size="8" opacity="0.2">?</text><circle cx="30" cy="70" r="2" fill="white" opacity="0.2"/><circle cx="70" cy="75" r="2" fill="white" opacity="0.1"/></svg>');
}

.faq-widget .faq-hero-content {
    position: relative;
    z-index: 2;
}

.faq-widget .faq-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.faq-widget .faq-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Search Section */
.faq-widget .faq-search {
    padding: 2rem;
    background: white;
}

.faq-widget .search-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.faq-widget .search-container h2 {
    color: #FF9100;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-widget .search-container p {
    color: #666;
    margin-bottom: 2rem;
}

.faq-widget .search-box {
    position: relative;
    margin-bottom: 2rem;
}

.faq-widget.animations-enabled .search-box {
    animation: scaleIn var(--animation-duration, 0.8s) ease-out 0.3s both;
}

.faq-widget .search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    background: #F3EDEA;
    transition: all 0.3s ease;
}

.faq-widget .search-input:focus {
    outline: none;
    border-color: #FF9100;
    box-shadow: 0 0 0 3px rgba(255, 145, 0, 0.1);
    background: white;
    transform: scale(1.02);
}

.faq-widget .search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #FF9100;
    font-size: 1.2rem;
    pointer-events: none;
}

.faq-widget .popular-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.faq-widget.animations-enabled .popular-searches {
    animation: slideIn var(--animation-duration, 0.8s) ease-out 0.5s both;
}

.faq-widget .search-tag {
    background: rgba(255, 145, 0, 0.1);
    color: #FF9100;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 145, 0, 0.2);
}

.faq-widget .search-tag:hover {
    background: #FF9100;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 145, 0, 0.3);
}

/* FAQ Content */
.faq-widget .faq-content {
    padding: 2rem;
    background: white;
}

.faq-widget .faq-container-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-widget .faq-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #FF9100;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-widget.animations-enabled .faq-section-title {
    animation: slideIn var(--animation-duration, 0.8s) ease-out;
}

.faq-widget .faq-section-title h3 {
    color: #FF9100;
    font-size: 1.6rem;
    font-weight: 700;
}

.faq-widget .faq-items {
    display: grid;
    gap: 1rem;
}

.faq-widget .faq-item {
    background: #F3EDEA;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-widget.animations-enabled .faq-item {
    animation: scaleIn var(--animation-duration, 0.8s) ease-out both;
}

.faq-widget .faq-item:hover {
    box-shadow: 0 8px 25px rgba(255, 145, 0, 0.15);
    transform: translateY(-2px);
}

.faq-widget .faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-widget .faq-question:hover {
    border-color: #FF9100;
}

.faq-widget .faq-question.active {
    background: #FF9100;
    color: white;
}

.faq-widget .faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.faq-widget .faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 145, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FF9100;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-weight: bold;
}

.faq-widget .faq-question.active .faq-toggle {
    background: white;
    color: #FF9100;
    transform: rotate(180deg);
}

.faq-widget .faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-widget .faq-answer.active {
    max-height: 800px;
    padding: 0 1.5rem 1.5rem;
}

.faq-widget .faq-answer p {
    color: #333333;
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.faq-widget .faq-answer ul {
    color: #333333;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-widget .faq-answer ul li {
    margin-bottom: 0.5rem;
}

.faq-widget .faq-highlight {
    background: rgba(255, 145, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #FF9100;
    margin: 1rem 0;
}

.faq-widget .faq-highlight strong {
    color: #FF9100;
}

.faq-widget .faq-link {
    color: #FF9100;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-widget .faq-link:hover {
    color: #e6820a;
    text-decoration: underline;
}

.faq-widget .no-results {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.faq-widget.animations-enabled .no-results {
    animation: fadeInUp 0.5s ease-out;
}

.faq-widget .no-results h3 {
    color: #FF9100;
    margin-bottom: 1rem;
}

/* Contact Support */
.faq-widget .contact-support {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #F3EDEA 0%, rgba(255, 145, 0, 0.05) 100%);
    text-align: center;
}

.faq-widget.animations-enabled .contact-support {
    animation: fadeInUp var(--animation-duration, 0.8s) ease-out 0.6s both;
}

.faq-widget .support-content h2 {
    color: #FF9100;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-widget .support-content p {
    color: #333333;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.faq-widget .support-btn {
    background: #FF9100;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.faq-widget .support-btn:hover {
    background: #e6820a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 145, 0, 0.3);
}

.faq-widget .hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-widget .faq-hero {
        padding: 2rem 1rem;
    }

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

    .faq-widget .faq-search, 
    .faq-widget .faq-content, 
    .faq-widget .contact-support {
        padding: 1.5rem 1rem;
    }

    .faq-widget .faq-question {
        padding: 1rem;
    }

    .faq-widget .faq-question h4 {
        font-size: 1rem;
    }

    .faq-widget .popular-searches {
        justify-content: flex-start;
    }

    .faq-widget .faq-container-wrapper {
        max-width: 100%;
    }
}

/* Width Control Classes */
.faq-widget .faq-width-narrow .faq-container-wrapper {
    max-width: 600px;
}

.faq-widget .faq-width-normal .faq-container-wrapper {
    max-width: 800px;
}

.faq-widget .faq-width-wide .faq-container-wrapper {
    max-width: 1000px;
}

.faq-widget .faq-width-full .faq-container-wrapper {
    max-width: 100%;
}