/**
 * Bidding FAQ Styles
 *
 * @package VVSOutlet_Airtable_B2C
 * @since 1.48.0
 */

/* ========================================
   FAQ Container
   ======================================== */

.vvsoutlet-bidding-faq {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.vvsoutlet-faq-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 24px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ========================================
   FAQ Accordion
   ======================================== */

.vvsoutlet-faq-accordion {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

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

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

/* ========================================
   FAQ Question (Button)
   ======================================== */

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

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

.vvsoutlet-faq-question[aria-expanded="true"] {
    background: #f0f9ff;
}

.vvsoutlet-faq-question-text {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
    padding-right: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.vvsoutlet-faq-icon {
    flex-shrink: 0;
    color: #3b82f6;
    transition: transform 0.3s ease;
}

.vvsoutlet-faq-question[aria-expanded="true"] .vvsoutlet-faq-icon {
    transform: rotate(180deg);
}

/* ========================================
   FAQ Answer
   ======================================== */

.vvsoutlet-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.vvsoutlet-faq-answer-content {
    padding: 0 24px 24px 24px;
}

.vvsoutlet-faq-answer-content p {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

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

.vvsoutlet-faq-answer-content ol {
    margin: 0;
    padding-left: 24px;
    color: #475569;
}

.vvsoutlet-faq-answer-content ol li {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
}

.vvsoutlet-faq-answer-content ol li:last-child {
    margin-bottom: 0;
}

.vvsoutlet-faq-answer-content strong {
    color: #1e293b;
    font-weight: 600;
}

/* ========================================
   FAQ Footer
   ======================================== */

.vvsoutlet-faq-footer {
    margin-top: 32px;
    padding: 20px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    text-align: center;
}

.vvsoutlet-faq-footer p {
    margin: 0;
    font-size: 15px;
    color: #1e293b;
    font-weight: 500;
}

.vvsoutlet-faq-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.vvsoutlet-faq-footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* ========================================
   Mobile Responsive
   ======================================== */

@media (max-width: 768px) {
    .vvsoutlet-bidding-faq {
        margin: 24px auto;
        padding: 0 16px;
    }

    .vvsoutlet-faq-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .vvsoutlet-faq-question {
        padding: 16px;
    }

    .vvsoutlet-faq-question-text {
        font-size: 15px;
    }

    .vvsoutlet-faq-answer-content {
        padding: 0 16px 16px 16px;
    }

    .vvsoutlet-faq-answer-content p,
    .vvsoutlet-faq-answer-content ol li {
        font-size: 14px;
    }

    .vvsoutlet-faq-answer-content ol {
        padding-left: 20px;
    }

    .vvsoutlet-faq-footer {
        margin-top: 24px;
        padding: 16px;
    }

    .vvsoutlet-faq-footer p {
        font-size: 14px;
    }
}

/* ========================================
   Accessibility
   ======================================== */

.vvsoutlet-faq-question:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .vvsoutlet-faq-icon,
    .vvsoutlet-faq-answer,
    .vvsoutlet-faq-question {
        transition: none;
    }
}
