/* Typing Indicator */
.typing-indicator {
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px 4px 0 0;
    font-size: 11px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: typingFadeIn 0.3s ease-out;
    border-bottom: none;
}

@keyframes typingFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-indicator i {
    font-size: 10px;
    color: #28a745;
    animation: typingPulse 1.5s infinite;
}

@keyframes typingPulse {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.5;
    }
}

.typing-indicator span {
    font-style: italic;
    font-weight: 500;
}

/* Input container'ı typing indicator ile uyumlu yap */
.input-container {
    position: relative;
}

.typing-indicator + .message-toolbar {
    border-radius: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .typing-indicator {
        position: absolute;
        left: 0;
        right: 130px;
        bottom: 60px;
        opacity: 0.9;
        padding: 4px 8px;
        font-size: 10px;
        gap: 4px;
    }
    
    .typing-indicator i {
        font-size: 9px;
    }
}
