/* ============================================
   Feedback Chat Log Styles
   ============================================ */
.feedback-chatlog-section {
    margin: 12px 0;
}

.feedback-chatlog-toggle {
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #374151;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.feedback-chatlog-toggle:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-color: #9ca3af;
}

.feedback-chatlog-toggle.expanded {
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white;
    border-color: #3b82f6;
}

.feedback-chatlog-toggle .toggle-icon {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.feedback-chatlog {
    background: #1f2937;
    border: 1px solid #374151;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.feedback-chatlog-empty {
    text-align: center;
    padding: 20px;
    color: #9ca3af;
    font-size: 13px;
}

.feedback-chatlog-item {
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.feedback-chatlog-item:last-child {
    margin-bottom: 0;
}

.feedback-chatlog-item.user {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    margin-left: 20%;
    border-bottom-right-radius: 4px;
}

.feedback-chatlog-item.bot {
    background: #374151;
    color: #f3f4f6;
    margin-right: 20%;
    border-bottom-left-radius: 4px;
}

.chatlog-role {
    display: block;
    font-size: 10px;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 4px;
}

.chatlog-text {
    display: block;
    word-wrap: break-word;
}

/* Custom scrollbar for chat log */
.feedback-chatlog::-webkit-scrollbar {
    width: 6px;
}

.feedback-chatlog::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 3px;
}

.feedback-chatlog::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 3px;
}

.feedback-chatlog::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

