.feedback-section {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    width: 100%;
}

.feedback-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.feedback-btn {
    padding: 6px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius-sm);
    background: white !important;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-btn[data-value="positive"] {
    color: #28a745;
}

.feedback-btn[data-value="negative"] {
    color: #dc3545;
}

.feedback-btn:hover {
    opacity: 0.8;
}

.feedback-btn.selected[data-value="positive"] {
    background: #28a745;
    color: white;
}

.feedback-btn.selected[data-value="negative"] {
    background: #dc3545;
    color: white;
}

.feedback-comment {
    position: relative;
    display: flex !important;
    align-items: center;
    flex: 1;
    width: auto !important;
    min-width: 0;
}

.feedback-textarea {
    flex: 1;
    padding: 8px 12px !important;
    border: 1px solid var(--border-color) !important;
    border-right: none !important;
    border-radius: var(--border-radius-sm) 0 0 4px !important;
    font-size: 14px !important;
    resize: none;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    min-width: 0;
}

.feedback-message {
    position: absolute;
    position: absolute;
    top: 100%;
    right: 0;
    font-size: 14px;
}

.feedback-message.success { color: var(--success-color); }
.feedback-message.error { color: var(--error-color); }
.feedback-message.info { color: var(--secondary-color); }

/* States */
.feedback-btn.selected {
    border-color: var(--primary-color) !important;
    background: var(--primary-color) !important;
    color: white !important;
}


.feedback-btn.submitted {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Ensure no conflicts with other styles */
.feedback-section .feedback-textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

.feedback-section button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Color updates for thumbs */
.feedback-btn[data-value="positive"].selected {
    background: var(--success-color) !important;
    border-color: var(--success-color) !important;
    color: white;
}

.feedback-btn[data-value="negative"].selected {
    background: var(--error-color) !important;
    border-color: var(--error-color) !important;
    color: white;
}
