/**
 * Quasar SEO Elementor Widgets Styles
 * 
 * @package Quasar_SEO
 * @since   4.2.0
 */

/* ===============================================
   FAQ Widget Styles
   =============================================== */
.quasar-seo-faq-widget {
    width: 100%;
}

.quasar-faq-heading {
    margin-bottom: 20px;
    font-weight: 600;
}

.quasar-faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quasar-faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #ffffff;
    border-left: 3px solid #667eea;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quasar-faq-question {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.quasar-faq-answer {
    font-size: 14px;
    line-height: 1.6;
    color: #5a6c7d;
}

/* ===============================================
   Review Widget Styles
   =============================================== */
.quasar-seo-review-widget {
    width: 100%;
}

.quasar-review-heading {
    margin-bottom: 20px;
    font-weight: 600;
}

.quasar-review-aggregate {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #fff8e1;
    border-radius: 8px;
    margin-bottom: 20px;
}

.quasar-review-stars {
    color: #FFD700;
    font-size: 20px;
    line-height: 1;
}

.quasar-review-average {
    font-weight: 600;
    font-size: 18px;
    color: #2c3e50;
}

.quasar-review-count {
    color: #7f8c8d;
    font-size: 14px;
}

.quasar-review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quasar-review-item {
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quasar-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.quasar-review-author {
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
}

.quasar-review-date {
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 10px;
}

.quasar-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #5a6c7d;
}

/* ===============================================
   AI Overview Widget Styles
   =============================================== */
.quasar-seo-ai-overview-widget {
    width: 100%;
}

.quasar-ai-overview-wrapper {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.quasar-ai-overview-heading {
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.quasar-ai-icon {
    font-size: 24px;
}

.quasar-ai-overview-content {
    font-size: 15px;
    line-height: 1.7;
    color: #2c3e50;
}

.quasar-ai-overview-content p:last-child {
    margin-bottom: 0;
}

/* ===============================================
   Google Overview Widget Styles
   =============================================== */
.quasar-seo-google-overview-widget {
    width: 100%;
}

.quasar-google-overview-wrapper {
    background-color: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4285f4;
}

.quasar-google-overview-heading {
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.quasar-google-icon {
    font-size: 24px;
}

.quasar-google-overview-content {
    font-size: 15px;
    line-height: 1.7;
    color: #2c3e50;
}

.quasar-google-overview-content p:last-child {
    margin-bottom: 0;
}

/* ===============================================
   Responsive Styles
   =============================================== */
@media (max-width: 768px) {
    .quasar-faq-item,
    .quasar-review-item,
    .quasar-ai-overview-wrapper,
    .quasar-google-overview-wrapper {
        padding: 15px;
    }

    .quasar-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .quasar-review-aggregate {
        flex-wrap: wrap;
    }
}

/* ===============================================
   Elementor Editor Styles
   =============================================== */
.elementor-editor-active .quasar-seo-faq-widget,
.elementor-editor-active .quasar-seo-review-widget,
.elementor-editor-active .quasar-seo-ai-overview-widget,
.elementor-editor-active .quasar-seo-google-overview-widget {
    min-height: 50px;
}

