/* ConversationBrowser Styles */
.conversation-browser {
    max-width: 100%;
}

.browser-header {
    margin-bottom: 30px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.header-top h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.browser-content {
    min-height: 400px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 10px;
}

.results-count {
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 12px;
}

.clear-filters-btn {
    color: #6c757d !important;
    text-decoration: none !important;
    font-size: 0.875rem;
    padding: 4px 8px;
}

.clear-filters-btn:hover {
    color: #495057 !important;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.conversations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-link {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.btn-link:hover {
    color: #0056b3;
}

.btn-outline-secondary {
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

/* Feedback Summary Styles */
.feedback-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.feedback-summary h3 {
    margin: 0 0 20px 0;
    color: #495057;
    font-size: 1.25rem;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-card.positive {
    border-left: 4px solid #28a745;
}

.stat-card.negative {
    border-left: 4px solid #dc3545;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.stat-percentage {
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .header-top h2 {
        font-size: 1.75rem;
    }

    .header-actions {
        justify-content: center;
    }

    .results-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .conversations-list {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .header-actions {
        flex-direction: column;
    }

    .results-count {
        flex-direction: column;
        gap: 8px;
    }
}
