/* Animacja pulsującego pierścienia dla widoku rozmowy */
@keyframes pulse-ring {
    0% { 
        transform: scale(0.8); 
        opacity: 0.5; 
    }
    100% { 
        transform: scale(1.3); 
        opacity: 0; 
    }
}

.animate-pulse-ring {
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite !important;
    will-change: transform, opacity;
}

/* Stylowanie scrollbara */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1c1c1e;
}

::-webkit-scrollbar-thumb {
    background: #3a3a3c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ca9c57;
}

/* Stylowanie nagłówków */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

/* Animacja equalizera dla aktywnej rozmowy */
@keyframes equalizer {
    0% { transform: scaleY(0.6); }
    25% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
    75% { transform: scaleY(1.1); }
    100% { transform: scaleY(0.6); }
}

.equalizer-bar {
    display: inline-block !important;
    animation: equalizer 1s infinite ease-in-out !important;
    transform-origin: center bottom !important;
    will-change: transform;
}

/* Animacja paska postępu ładowania */
@keyframes progress-loading {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-bar-container {
    position: relative;
    width: 100%;
    max-width: 280px;
    height: 4px;
    background-color: rgba(202, 156, 87, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(202, 156, 87, 0.5) 25%, 
        #ca9c57 50%, 
        rgba(202, 156, 87, 0.5) 75%, 
        transparent 100%);
    animation: progress-loading 1.5s ease-in-out infinite;
    transform: translateX(-100%);
}

