/**
 * ProRank SEO - Elementor Widgets Styles
 */

/* ==========================================================================
   Breadcrumbs Widget
   ========================================================================== */

.prorank-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    font-size: 14px;
    line-height: 1.5;
}

.prorank-breadcrumbs a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.prorank-breadcrumbs a:hover {
    text-decoration: underline;
}

.prorank-breadcrumbs .separator {
    margin: 0 8px;
    opacity: 0.6;
}

.prorank-breadcrumbs .current {
    font-weight: 500;
}

/* ==========================================================================
   FAQ Widget
   ========================================================================== */

.prorank-faq-widget {
    width: 100%;
}

.prorank-faq-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.prorank-faq-item:last-child {
    margin-bottom: 0;
}

/* Question Styles */
.prorank-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: #f9f9f9;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.prorank-faq-accordion .prorank-faq-question:hover {
    background: #f0f0f0;
}

.prorank-faq-accordion .prorank-faq-question:focus {
    outline: 2px solid #0073aa;
    outline-offset: -2px;
}

.prorank-faq-question-text {
    flex: 1;
    padding-right: 15px;
}

/* Icon Styles */
.prorank-faq-icon {
    flex-shrink: 0;
    font-size: 14px;
    color: #666;
    transition: transform 0.2s ease;
}

.prorank-faq-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Answer Styles */
.prorank-faq-answer {
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    background: #fff;
    border-top: 1px solid #e0e0e0;
}

.prorank-faq-answer p:first-child {
    margin-top: 0;
}

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

/* Active State */
.prorank-faq-item.active .prorank-faq-question {
    background: #f5f5f5;
}

/* List Layout - No interaction styles */
.prorank-faq-list .prorank-faq-question {
    cursor: default;
    background: transparent;
    border-bottom: 1px solid #e0e0e0;
}

.prorank-faq-list .prorank-faq-question:hover {
    background: transparent;
}

.prorank-faq-list .prorank-faq-answer {
    border-top: none;
}

/* Schema Notice (Editor Only) */
.prorank-schema-notice {
    font-size: 12px;
    color: #2e7d32;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 767px) {
    .prorank-faq-question {
        padding: 14px 16px;
        font-size: 15px;
    }

    .prorank-faq-answer {
        padding: 14px 16px;
        font-size: 14px;
    }

    .prorank-breadcrumbs {
        font-size: 13px;
    }
}

/* ==========================================================================
   Editor Preview Styles
   ========================================================================== */

.elementor-editor-active .prorank-faq-widget {
    pointer-events: none;
}

.elementor-editor-active .prorank-faq-question {
    pointer-events: none;
}
