.text-success {
    color: #10b981;
}
.message-input-container {
    border-radius: 0.75rem;
    border: 1px solid rgba(107, 107, 107, 0.2);
    transition: all 0.3s ease;
}

.message-input-container:focus-within {
    border-color: #951b81;
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.1);
}

.message-input {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: white !important;
}

.message-input:focus {
    outline: none !important;
    ring: none !important;
    border: none !important;
}

.message-input::placeholder {
    color: #6b7280;
}

.action-button {
    transition: all 0.2s ease;
    border-radius: 9999px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    pointer-events: auto;
    color: gray;
}

.action-button:hover {
    background-color: rgba(149, 27, 129, 0.27);
    color: white;
}

.send-button {
    border-radius: 9999px;
    padding: 8px;
    transition: all 0.2s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #951b81;
    color: white;
}

.send-button:disabled {
    background-color: rgba(107, 107, 107, 0.2);
    color: #6b7280;
    cursor: not-allowed;
}

.send-button:not(:disabled):hover {
    background-color: #a92492;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.2);
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

#chat-messages::-webkit-scrollbar {
    width: 6px;
}

#chat-messages::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#chat-messages::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

@keyframes thinking {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.thinking-dots {
    display: inline-block;
    animation: thinking 1.5s infinite;
}

/* Estilos para o upload de arquivos */
.file-preview {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.file-remove-button {
    opacity: 0.7;
    transition: all 0.2s ease;
}

.file-remove-button:hover {
    opacity: 1;
    transform: scale(1.1);
}

.reaction-button {
    transition: all 0.2s ease;
    border-radius: 9999px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #6b7280;
}

.reaction-button:hover {
    background-color: rgba(149, 27, 129, 0.27);
    color: white;
    transform: scale(1.05);
}

.reaction-button.active {
    color: #951b81;
    background-color: rgba(149, 27, 129, 0.1);
}

.reaction-button.active:hover {
    background-color: rgba(149, 27, 129, 0.27);
    color: #951b81;
}

.recording-indicator {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.audio-bars-container {
    backdrop-filter: blur(8px);
    background-color: rgba(31, 41, 55, 0.8);
}

.audio-bar {
    min-height: 4px;
    transition: height 0.1s ease-out;
}