/* Các nút nhỏ xám nhạt bên trái */
.bot-actions-wrapper-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 10px;    
}

.bot-left-actions-zone {
    display: flex;
    gap: 8px;
}

.bot-left-actions-zone .action-btn-sm {
    position: relative;
    overflow: visible;
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    color: #32465a;
    transition: 0.2s;
}

.bot-left-actions-zone .action-btn-sm:hover {
    transform: scale(1.1);    
    color: var(--primary-color, #0c826f);
    background-color: #ffffff; /* Màu xám bạn đang thấy */
}

/* =======================================================
   BỔ SUNG: Khống chế icon SVG nằm trong nút bấm bên trái 
   ======================================================= */
.bot-left-actions-zone .action-btn-sm .icon-svg {
    width: 18px;
    height: 18px;
    display: block;
}


/* Giữ lại nguyên vẹn cho các khu vực khác nếu có dùng */
.bot-right-actions-zone .regenerate-btn-new {
    background-color: #ffffff;
    border: none;
    color: #32465a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.bot-right-actions-zone .regenerate-btn-new:hover{    
    color: var(--primary-color, #0c826f);
}

/* BỔ SUNG: Đề phòng nếu nút ở bên phải cũng có lúc dùng icon SVG */
.bot-right-actions-zone .regenerate-btn-new .icon-svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
}


/* Chưa có lịch sử */
.no-history {
    color: #32465a; 
    font-size: 14px; 
    line-height: 1; 
    font-style: italic; 
    display: flex; 
    align-items: center; 
    gap: 8px;
}

/* Định hình và tạo hiệu ứng sóng âm cho SVG */
.no-history svg.icon-svg {
    color: var(--primary-color, #0c826f); 
    display: inline-block;
    flex-shrink: 0; /* Tránh icon bị bóp méo khi text quá dài */
    border-radius: 50%; 
    animation: audio-wave-mini 2s infinite ease-out;
}

/* Hiệu ứng sóng âm phiên bản mini, thanh lịch */
@keyframes audio-wave-mini {
    0% {
        box-shadow: 0 0 0 0px color-mix(in srgb, var(--primary-color, #0c826f) 60%, transparent), 
                    0 0 0 0px color-mix(in srgb, var(--primary-color, #0c826f) 40%, transparent);
    }
    70% {
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-color, #0c826f) 0%, transparent), 
                    0 0 0 7px color-mix(in srgb, var(--primary-color, #0c826f) 0%, transparent);
    }
    100% {
        box-shadow: 0 0 0 0px color-mix(in srgb, var(--primary-color, #0c826f) 0%, transparent), 
                    0 0 0 0px color-mix(in srgb, var(--primary-color, #0c826f) 0%, transparent);
    }
}