/**
 * Wide Fist Reviews Styling
 * Modern, attractive design with brand color #35B63A
 */

.wf-reviews-container {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.wf-review-item {
    display: flex;
    gap: 20px;
    padding: 10px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px -5px rgba(53, 182, 58, 0.15), 0 3px 10px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(53, 182, 58, 0.1);
    position: relative;
}

.wf-review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(53, 182, 58, 0.25), 0 6px 15px -5px rgba(0, 0, 0, 0.1);
}


/* Small brand color accent */

.wf-review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #35B63A;
    border-radius: 12px 12px 0 0;
    opacity: 0.8;
}

.wf-review-item:last-child {
    margin-bottom: 0;
}


/* With Avatar Layout */

.wf-review-item.with-avatar .wf-review-avatar-column {
    flex: 0 0 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f8faf8;
    padding: 10px 2px;
    border-radius: 10px;
    border: 1px solid rgba(53, 182, 58, 0.08);
}

.wf-review-item.with-avatar .wf-review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    background: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px -3px #35B63A;
}

.wf-review-item.with-avatar .wf-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wf-review-item.with-avatar .wf-review-author {
    width: 100%;
}

.wf-review-item.with-avatar .wf-review-name {
    display: block;
    font-weight: 600;
    color: #1e2b1e;
    font-size: 16px;
    line-height: 1.3;
    word-break: break-word;
    margin-bottom: 3px;
}

.wf-review-item.with-avatar .wf-review-name::before {
    content: '👤 ';
    font-size: 12px;
    opacity: 0.7;
    margin-right: 2px;
}

.wf-review-item.with-avatar .wf-review-date {
    display: block;
    font-size: 11px;
    color: #5b6b5b;
    line-height: 1.3;
    background: #ffffff;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(53, 182, 58, 0.15);
}

.wf-review-item.with-avatar .wf-review-date::before {
    content: '📅 ';
    font-size: 10px;
    opacity: 0.7;
}


/* Without Avatar Layout */

.wf-review-item.without-avatar {
    gap: 0;
    flex-direction: column;
    padding: 20px;
}

.wf-review-item.without-avatar .wf-review-content-column {
    width: 100%;
}

.wf-review-meta-inline {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(53, 182, 58, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f5faf5;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.wf-review-meta-inline .wf-review-name {
    font-weight: 600;
    color: #1e2b1e;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wf-review-meta-inline .wf-review-name::before {
    content: '👤';
    font-size: 14px;
}

.wf-review-meta-inline .wf-review-date {
    font-size: 12px;
    color: #5b6b5b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wf-review-meta-inline .wf-review-date::before {
    content: '📅';
    font-size: 11px;
}


/* Right Column - Review Content (shared) */

.wf-review-content-column {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(53, 182, 58, 0.08);
}

.wf-review-survey-title {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #2b5e2b;
    background: #e8f3e8;
    padding: 4px 12px;
    border-radius: 25px;
    margin-bottom: 12px;
    border: 1px solid rgba(53, 182, 58, 0.2);
}

.wf-review-survey-title::before {
    content: '📋';
    font-size: 11px;
}

.wf-review-text {
    color: #2a3a2a;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
}

.wf-review-text::before {
    content: '"';
    font-size: 40px;
    color: rgba(53, 182, 58, 0.2);
    position: absolute;
    left: -5px;
    top: -10px;
    font-family: Georgia, serif;
}

.wf-review-text p {
    margin: 0 0 12px 0;
}

.wf-review-text p:last-child {
    margin-bottom: 0;
}

.wf-review-text p:first-of-type::first-letter {
    font-size: 20px;
    font-weight: 600;
    color: #35B63A;
}


/* Empty state */

.wf-reviews-empty {
    text-align: center;
    padding: 40px 20px;
    background: #f5faf5;
    border-radius: 16px;
    color: #3a523a;
    font-size: 16px;
    border: 2px dashed rgba(53, 182, 58, 0.3);
}

.wf-reviews-empty p {
    margin: 0;
    position: relative;
}

.wf-reviews-empty p::before {
    content: '💬';
    display: block;
    font-size: 36px;
    margin-bottom: 10px;
    opacity: 0.6;
}


/* Mobile Responsive */

@media (max-width: 768px) {
    .wf-review-item {
        padding: 15px;
    }
    .wf-review-item.with-avatar {
        flex-direction: column;
        gap: 15px;
    }
    .wf-review-item.with-avatar .wf-review-avatar-column {
        flex: 0 0 auto;
        flex-direction: row;
        gap: 15px;
        align-items: center;
        text-align: left;
        padding: 12px;
        width: 100%;
    }
    .wf-review-item.with-avatar .wf-review-avatar {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
    }
    .wf-review-item.with-avatar .wf-review-author {
        width: auto;
    }
    .wf-review-item.with-avatar .wf-review-name {
        font-size: 16px;
    }
    .wf-review-content-column {
        padding: 12px;
    }
    .wf-review-text {
        font-size: 14px;
    }
}


/* Small mobile */

@media (max-width: 480px) {
    .wf-review-item.with-avatar .wf-review-avatar-column {
        flex-direction: column;
        text-align: center;
    }
    .wf-review-meta-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}