.message.loading-assistant { 
    display: flex; 
    align-items: center; 
    padding: 18px; 
    border-radius: 20px; 
    background: linear-gradient(45deg, rgba(245,245,245,1) 0%, rgba(255,255,255,1) 100%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Effet de pulsation pour l'ensemble du message */
.message.loading-assistant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(41,86,197,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: inherit;
    animation: pulse-bg 2.5s infinite;
}

.loading-text {
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.loading-icon {
    margin-right: 12px;
    color: #2956c5;
    animation: rotate 2s infinite linear;
    font-size: 1.2em;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
}

.loading-bar {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #2956c5, #3a8dde, #64b5f6, #2956c5);
    background-size: 300% 100%;
    border-radius: 15px;
    animation: gradient 3s ease infinite;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) inset;
    position: relative;
    overflow: hidden;
}

/* Effet de scintillement sur la barre */
.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 20%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    transform: skewX(-25deg);
    animation: shine 2s infinite;
} 