/**
 * Reaction Area Component Styles
 *
 * @license MIT
 * @copyright (c) 2025 Universal AI Cloud Development Team
 * @version 1.1.0
 *
 * Version History:
 * - 1.0.0 (2025-12-02): Initial extraction
 *   - Self-contained styles for reaction-area.js component
 *   - Action buttons and status messages
 *   - Confirmation controls
 * - 1.1.0 (2026-01-28): Dark mode support
 */

/* Reaction Area Container */
.reaction-area {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Action Buttons */
.action-btn {
    background: none;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--text-muted, #7f8c8d);
    font-size: 0.85rem;
}

.action-btn img {
    width: 16px;
    height: 16px;
    display: block;
}

.action-btn:hover:not(:disabled) {
    background: var(--bg-hover, rgba(0, 0, 0, 0.05));
    color: var(--text-primary, #2c3e50);
}

.action-btn:disabled {
    cursor: not-allowed;
}

/* Insert Button (with text and icon) */
.action-insert {
    padding: 4px 8px;
    gap: 4px;
}

.action-insert img {
    width: 12px;
    height: 12px;
}

/* Icon-only buttons (hide text, show only images) */
.action-btn-icon-only {
    font-size: 0;
}

/* Action Status Messages (countdown, progress, success) */
.action-status-message {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.85rem;
    color: var(--text-primary, #000);
    font-weight: 600;
    min-height: 24px;
}

/* Confirmation Buttons */
.confirm-btn {
    background: none;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.confirm-btn img {
    width: 16px;
    height: 16px;
    display: block;
}

.confirm-cancel:hover {
    background: rgba(231, 76, 60, 0.1);
}

.confirm-ok:hover {
    background: rgba(39, 174, 96, 0.1);
}

/* Confirmation Message */
.confirm-message {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-primary, #2c3e50);
    font-weight: 600;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .action-btn,
    .confirm-btn,
    .action-status-message,
    .confirm-message {
        color: #ccc;
    }
}
