/* ============================================================
   SMOOTHLY — RESPONSE ACTION BAR STYLES
   Add to chatstyle.css or inline in chat.html <style>
   ============================================================ */

.response-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0 4px;
    margin-top: 4px;
}

.ra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* Feedback thumbs */
.ra-feedback {
    display: flex;
    gap: 4px;
}

.ra-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #aaa;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1;
}

.ra-btn:hover {
    color: #777;
    background: #f5f5f5;
}

/* Thumb active states */
.ra-thumb.active-up {
    color: #10aa00;
    background: rgba(16, 170, 0, 0.08);
    border-color: rgba(16, 170, 0, 0.15);
}

.ra-thumb.active-down {
    color: #fb5a62;
    background: rgba(251, 90, 98, 0.08);
    border-color: rgba(251, 90, 98, 0.15);
}

/* Retry button */
.ra-retry {
    padding: 6px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.ra-retry:hover {
    border-color: #fb5a62;
    color: #fb5a62;
    background: rgba(251, 90, 98, 0.04);
}

/* Free badge */
.ra-free-badge {
    font-size: 9px;
    font-weight: 700;
    color: #10aa00;
    background: rgba(16, 170, 0, 0.1);
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Style nudge section */
.ra-nudges {
    flex-direction: column;
    gap: 8px;
    padding: 10px 0 4px;
    animation: ra-fadeIn 0.2s ease;
}

.ra-nudge-label {
    font-size: 11px;
    font-weight: 500;
    color: #aaa;
    margin: 0;
    letter-spacing: 0.2px;
}

.ra-nudge-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ra-pill {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.ra-pill:hover {
    color: #fb5a62;
    border-color: #fb5a62;
    background: rgba(251, 90, 98, 0.04);
}

.ra-pill:active {
    transform: scale(0.97);
}

.ra-pill:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ra-pill-plain {
    background: transparent;
    border-style: dashed;
}

@keyframes ra-fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 500px) {
    .ra-nudge-pills {
        gap: 5px;
    }
    .ra-pill {
        padding: 5px 10px;
        font-size: 11px;
    }
}
