/* features.css - Interactive feature styles (voice, copy, share, follow-ups) */

/* ===== MESSAGE ACTION BUTTONS (Copy & Share) ===== */
.message-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--hr-color, #e2e8f0);
    justify-content: flex-start;
}

.action-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary, #64748b);
    padding: 5px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text, #1A1A2E);
}

.action-btn.copied {
    color: #4ecdc4;
    border-color: rgba(78, 205, 196, 0.3);
}

/* ===== FOLLOW-UP CHIPS ===== */
.follow-up-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    direction: rtl;
}

.follow-up-chip {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.12), rgba(78, 205, 196, 0.06));
    border: 1px solid rgba(78, 205, 196, 0.2);
    color: var(--text, #1A1A2E);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.25s ease;
    direction: rtl;
    text-align: right;
    max-width: 100%;
    line-height: 1.5;
}

.follow-up-chip:hover {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.25), rgba(78, 205, 196, 0.15));
    border-color: rgba(78, 205, 196, 0.4);
    color: var(--text, #1A1A2E);
    transform: translateY(-1px);
}

.follow-up-chip:active {
    transform: scale(0.97);
}

/* ===== VOICE BUTTON RECORDING STATE ===== */
#voice-button.recording {
    background: rgba(255, 59, 48, 0.2) !important;
    color: #ff3b30 !important;
    animation: pulse-recording 1.2s ease-in-out infinite;
}

@keyframes pulse-recording {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .follow-up-chip {
        font-size: 12px;
        padding: 6px 12px;
    }
    .action-btn {
        font-size: 11px;
        padding: 4px 10px;
    }
}
